Q: 11
You want to create a container that is reachable from its host's network.
Does this action accomplish this?
Solution.Use either EXPOSE or -publish to access the container on the bridge network.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
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 logs deployment api
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution: Set IGNORE_TLS in the 'daemon.json' configuration file.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
You created a new service named 'http' and discover it is not registering as healthy. Will this
command enable you to view the list of historical tasks for this service?
Solution:'docker inspect http'
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
Is this an advantage of multi-stage builds?
Solution: optimizes Images by copying artifacts selectively from previous stages
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 16
Will this command mount the host's '/data1directory to the ubuntu container in read-only mode?
Solution. ‘docker run -v /data:/mydata -mode readonly ubuntu'
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 17
Does this describe the role of Control Groups (cgroups) when used with a Docker container?
Solution: role-based access control to clustered resources
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 18
During development of an application meant to be orchestrated by Kubemetes, you want to mount
the /data directory on your laptop into a container.
Will this strategy successfully accomplish this?
Solution. Create a Persistent VolumeClaim requesting storageClass:”” (which defaults to local
storage) and hostPath: /data, and use this to populate a volume in a pod.
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 19
The Kubernetes yaml shown below describes a clusterIP service.
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to
port 80 in that pod.
Is this a correct statement about how this service routes requests?
Solution: Traffic sent to the IP of any pod with the label app: nginx on port 8080 will be forwarded to
port 80 in that pod.Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 11 of 20 · Page 2 / 2