Práctica de Docker y Kubernetes

Practica 80 preguntas de DevOps sobre imágenes Docker, contenedores, volúmenes, redes, Compose y cargas de trabajo, servicios, almacenamiento y solución de problemas de Kubernetes.

Nivel: Docker & Kubernetes Dificultad: intermediate 80 preguntas 50 min
Lee cada pregunta de Docker o Kubernetes, elige o escribe tu respuesta y revisa la explicación.
Racha de días: 0 días Guardado solo en este dispositivo
Progreso 0 / 80
Pregunta 1

What does a Docker image contain?

Selecciona una respuesta
Pregunta 2

Which Dockerfile instruction sets the base image?

Selecciona una respuesta
Pregunta 3

Which Dockerfile instruction copies files from the build context into the image?

Selecciona una respuesta
Pregunta 4

Which command builds an image from a Dockerfile?

Selecciona una respuesta
Pregunta 5

What does the CMD instruction define?

Selecciona una respuesta
Pregunta 6

What does the ENTRYPOINT instruction define?

Selecciona una respuesta
Pregunta 7

What is a Dockerfile?

Selecciona una respuesta
Pregunta 8

What is a Docker container?

Selecciona una respuesta
Pregunta 9

Which command lists running containers?

Selecciona una respuesta
Pregunta 10

Which command starts a container from an image?

Selecciona una respuesta
Pregunta 11

What does docker pull do?

Selecciona una respuesta
Pregunta 12

What is Docker Hub?

Selecciona una respuesta
Pregunta 13

Why does Docker use image layers?

Selecciona una respuesta
Pregunta 14

What is a Docker volume used for?

Selecciona una respuesta
Pregunta 15

Which flag is commonly used to mount a volume or bind mount?

Selecciona una respuesta
Pregunta 16

What is a bind mount?

Selecciona una respuesta
Pregunta 17

What is a named volume?

Selecciona una respuesta
Pregunta 18

Which Docker network driver creates an isolated network for containers on one host?

Selecciona una respuesta
Pregunta 19

Which Docker network driver lets containers use the host network stack directly?

Selecciona una respuesta
Pregunta 20

What is Docker Compose?

Selecciona una respuesta
Pregunta 21

Which file is the default Docker Compose file?

Selecciona una respuesta
Pregunta 22

What does docker compose up do?

Selecciona una respuesta
Pregunta 23

What is a service in Docker Compose?

Selecciona una respuesta
Pregunta 24

Which Compose key specifies the image to use?

Selecciona una respuesta
Pregunta 25

Which Compose key maps host ports to container ports?

Selecciona una respuesta
Pregunta 26

What does docker exec do?

Selecciona una respuesta
Pregunta 27

Which command shows logs from a container?

Selecciona una respuesta
Pregunta 28

What is a container registry?

Selecciona una respuesta
Pregunta 29

Which command tags an image?

Selecciona una respuesta
Pregunta 30

Which command uploads an image to a registry?

Selecciona una respuesta
Pregunta 31

What is a Pod in Kubernetes?

Selecciona una respuesta
Pregunta 32

Which object maintains a desired number of identical pods?

Selecciona una respuesta
Pregunta 33

Which controller manages stateless workloads with rolling updates?

Selecciona una respuesta
Pregunta 34

Which controller runs one pod on every node?

Selecciona una respuesta
Pregunta 35

Which controller runs a task to completion?

Selecciona una respuesta
Pregunta 36

Which controller runs scheduled tasks?

Selecciona una respuesta
Pregunta 37

Which controller is best for stateful applications with stable network identity?

Selecciona una respuesta
Pregunta 38

What does a Kubernetes Service do?

Selecciona una respuesta
Pregunta 39

Which Service type exposes a service through a cloud load balancer?

Selecciona una respuesta
Pregunta 40

What is an Ingress?

Selecciona una respuesta
Pregunta 41

What is a ConfigMap?

Selecciona una respuesta
Pregunta 42

What is a Secret?

Selecciona una respuesta
Pregunta 43

Which command applies a Kubernetes manifest?

Selecciona una respuesta
Pregunta 44

Which command lists pods in a cluster?

Selecciona una respuesta
Pregunta 45

Which command shows logs from a pod?

Selecciona una respuesta
Pregunta 46

What is a namespace in Kubernetes?

Selecciona una respuesta
Pregunta 47

Where are CPU and memory limits for a container defined?

Selecciona una respuesta
Pregunta 48

What does a liveness probe check?

Selecciona una respuesta
Pregunta 49

What does a readiness probe check?

Selecciona una respuesta
Pregunta 50

What is a PersistentVolumeClaim?

Selecciona una respuesta
Pregunta 51

Which object defines how storage is provisioned in a cluster?

Selecciona una respuesta
Pregunta 52

What is kubelet?

Selecciona una respuesta
Pregunta 53

Which components form the Kubernetes control plane?

Selecciona una respuesta
Pregunta 54

Which component stores the cluster state?

Selecciona una respuesta
Pregunta 55

What is a node in Kubernetes?

Selecciona una respuesta
Pregunta 56

What does the Horizontal Pod Autoscaler do?

Selecciona una respuesta
Pregunta 57

What does kubectl rollout status show?

Selecciona una respuesta
Pregunta 58

What is RBAC in Kubernetes?

Selecciona una respuesta
Pregunta 59

What is a ServiceAccount?

Selecciona una respuesta
Pregunta 60

What does an image pull policy control?

Selecciona una respuesta
Pregunta 61

Which of the following are Kubernetes workload controllers?

Selecciona una respuesta
Pregunta 62

Which fields commonly appear in a Service manifest?

Selecciona una respuesta
Pregunta 63

Which Docker commands manage images?

Selecciona una respuesta
Pregunta 64

Which of the following are valid ways to persist data in Docker?

Selecciona una respuesta
Pregunta 65

Which components are part of the Kubernetes control plane?

Selecciona una respuesta
Pregunta 66

Which commands help debug a failing pod?

Selecciona una respuesta
Pregunta 67

Which probes can be defined for a container?

Selecciona una respuesta
Pregunta 68

Which are valid Kubernetes Service types?

Selecciona una respuesta
Pregunta 69

Type the Docker command that lists running containers.

Pregunta 70

Type the kubectl command that applies a manifest file.

Pregunta 71

Type the kubectl command that shows logs for a pod named web.

Pregunta 72

Type the Docker command used to run a command inside a running container.

Pregunta 73

Type the kubectl command that shows the status of a Deployment rollout.

Pregunta 74

Type the Kubernetes object that provides a stable network name for pods.

Pregunta 75

Match each Docker command to what it does.

Pregunta 76

Match each Kubernetes object to its purpose.

Pregunta 77

Match each Dockerfile instruction to its purpose.

Pregunta 78

Match each Kubernetes object to its role.

Pregunta 79

Match each kubectl command to what it does.

Pregunta 80

Match each storage concept to its definition.