Question 16

Does this command display all the pods in the cluster that are labeled as 'env: development'?
Solution: 'kubectl get pods --all-namespaces -label env=development'
  • Question 17

    If installing Docker using devicemapper for storage with the Intent to run production workloads, how should devicemapper be configured
  • Question 18

    Which of the following commands starts a Redis container and configures it to always restart unless it is
    explicitly stopped or Docker is restarted?
  • Question 19

    The following Docker Compose file is deployed as a stack:

    Is this statement correct about this health check definition?
    Solution: Health checks test for app health ten seconds apart. If the test fails, the container will be restarted three times before it gets rescheduled.
  • Question 20

    Which one of the following commands will show a list of volumes for a specific container?