Question 16

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

    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. Set containers. Mounts. hostBinding: /data in the container's specification.
  • Question 18

    Does this describe the role of Control Groups (cgroups) when used with a Docker container?
    Solution: accounting and limiting of resources
  • Question 19

    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: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers as desired.
  • Question 20

    Will a DTR security scan detect this?
    Solution.private keys copied to the image