Technology Difficulty 5/10 19 questions

YAML — Compose, GitLab CI et Kubernetes

Lire et comprendre les fichiers YAML du TP : docker-compose, .gitlab-ci.yml, Deployment, Service, HPA.

About this quiz

How many of the 19 questions in "YAML — Compose, GitLab CI et Kubernetes" will you get right? This Technology quiz carries a difficulty of 5 out of 10. A balanced level: neither a walk in the park nor a headache.

This quiz is free to play, alone or with friends. Create a room, send an invite and see who answers fastest: every correct answer earns XP and moves your SparkleQuiz progression forward.

The “Technology” theme on SparkleQuiz

Who founded Apple in a garage? Read the full introduction to the Technology theme.

Worth knowing from this quiz

Seul script est obligatoire. Un job sans stage va dans le stage test par défaut.

Le service dind lance un daemon Docker à côté du job, que le client docker de l'image utilise. Alternative du cours : Kaniko, qui build sans daemon.

apiVersion + kind disent quel type d'objet c'est, metadata le nomme (name, namespace, labels), spec décrit l'état voulu. replicas et selector sont dans le spec d'un Deployment.

Sample questions

A handful of questions pulled from the quiz, so you can gauge its tone and level. Nothing is flagged here, you will have to start a game.

1. En YAML, qu'est-ce qui est interdit pour indenter ?
  • Les espaces
  • Deux espaces
  • Les tabulations
  • Quatre espaces
2. En YAML, que signifie un tiret suivi d'un espace (« - ») en début de ligne ?
  • Un élément de liste
  • Une soustraction
  • Un commentaire
  • Une clé désactivée
3. Dans un fichier YAML, à quoi sert une ligne « --- » ?
  • Marquer la fin du fichier
  • Séparer plusieurs documents dans le même fichier
  • Commenter le bloc suivant
  • Désactiver une clé
4. docker-compose : « ports: - "8080:80" ». Lequel est le port de ta machine ?
  • 8080
  • Aucun, c'est un port interne
  • 80
  • Les deux
5. .gitlab-ci.yml : que définit la clé racine « stages » ?
  • La liste ordonnée des étapes du pipeline
  • Les runners autorisés
  • Les variables secrètes
  • Les branches protégées

Ready to play?

A game starts in seconds, no sign-up needed. Every correct answer earns XP and moves your progression forward.

Play now

Similar quizzes

Technologie

Computer Basics

Keyboard, mouse, desktop and recycle bin: the basics of using a computer.

10 questions · Difficulty 2/10
Technologie

Browsing the Internet

Browsers, bookmarks, downloads and Wi-Fi: the everyday basics of the Web.

10 questions · Difficulty 2/10