QuizzesFrom Docker to Kubernetes — Concept Check
intermediate
docker

From Docker to Kubernetes — Concept Check

Questions on From Docker to Kubernetes. Docker runs containers on a single host. Kubernetes orchestrates containers across a cluster of hosts, providing auto-scaling, self-healing, rolling deployments, and service discovery at scale.

8 minutes 8 questions Pass at 70%
Time Limit
8 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

8 questions on From Docker to Kubernetes — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A company is deploying a new microservices application with over 20 services on multiple cloud hosts. Which tool should they use for container orchestration?

    • AKubernetes
    • BAWS Lambda
    • CDocker Compose
    • DDocker Swarm
  2. 2.You have a Docker Compose setup with a `depends_on` directive. When converting to Kubernetes, what should you use to achieve similar functionality?

    • AService
    • BInitContainers or readiness probes
    • CPersistentVolumeClaim
    • DLivenessProbe
  3. 3.A team wants to ensure that their application pods are restarted automatically if they fail. Which Kubernetes feature should they use?

    • ARestartPolicy: Always
    • BLivenessProbe
    • CRollingUpdate
    • DClusterIP
  4. 4.A developer uses Docker Compose for local development with 3 replicas of a service. What is the equivalent in Kubernetes?

    • A3 PersistentVolumeClaims
    • B3 Ingress rules
    • C3 Pods in a Deployment
    • D3 Services
  5. 5.An application requires HTTP routing rules to direct traffic to specific services. Which Kubernetes resource should be used?

    • APersistentVolumeClaim
    • BIngress
    • CPod
    • DService
  6. 6.A team is considering using Docker Compose for a production environment with 15 services. What is a potential issue with this choice?

    • ADocker Compose requires Kubernetes
    • BDocker Compose lacks auto-scaling
    • CDocker Compose is only for local development
    • DDocker Compose cannot run on a single machine
  7. 7.A developer wants to expose their Kubernetes service externally. Which Service type should they use?

    • ANodePort
    • BLoadBalancer
    • CClusterIP
    • DPersistentVolumeClaim
  8. 8.In Kubernetes, what is the smallest deployable unit that can contain one or more containers?

    • APod
    • BDeployment
    • CService
    • DIngress