Question 106

Is this an advantage of multi-stage builds?
Solution.better logical separation of Dockerfile instructions for increased readability
  • Question 107

    Are these conditions sufficient for Kubernetes to dynamically provision a persistentVolume, assuming there are no limitations on the amount and type of available external storage?
    Solution: A default storageClass is specified, and subsequently a persistentVolumeClaim is created.
  • Question 108

    Your organization has a centralized logging solution, such as Splunk.
    Will this configure a Docker container to export container logs to the logging solution?
    Solution: Set the log-driver and log-oPt keys to values for the logging solution (Splunk) In the daemon.json file.
  • Question 109

    You want to provide a configuration file to a container at runtime. Does this set of Kubernetes tools and steps accomplish this?
    Solution: Turn the configuration file into a configMap object, use it to populate a volume associated with the pod, and mount that file from the volume to the appropriate container and path.
  • Question 110

    Will this command ensure that overlay traffic between service tasks is encrypted?
    Solution: docker network create -d overlay --secure