Question 61

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?
Solution: seccomp
  • Question 62

    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 63

    During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container.
    Will this strategy successfully accomplish this?
    Solution: Create a PersistentVolume with storageciass: "" and hostPath: /data, and a persistentVolumeClaim requesting this PV. Then use that PVC to populate a volume in a pod
  • Question 64

    Will this command display a list of volumes for a specific container?
    Solution: docker volume logs nginx --containers'
  • Question 65

    Will this command mount the host's '/data1 directory to the ubuntu container in read-only mode?
    Solution. 'docker run -v /data:/mydata -mode readonly ubuntu'