Question 56

Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
  • Question 57

    You are troubleshooting a Kubernetes deployment called api, and want to see the events table for this object.
    Does this command display it?
    Solution: kubectl get deployment api
  • Question 58

    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 59

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

    You add a new user to the engineering organization in DTR.
    Will this action grant them read/write access to the engineering/api repository?
    Solution: Add the user directly to the list of users with read/write access under the repository's Permissions tab.