View Mode
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
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
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
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
Q: 15
Is this an advantage of multi-stage builds? Solution: optimizes Images by copying artifacts selectively from previous stages
Options
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
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
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
Q: 19
The Kubernetes yaml shown below describes a clusterIP service. DOCKER DCA question 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
Q: 20
Does this command create a swarm service that only listens on port 53 using the UDP protocol? Solution. ‘docker service create -name dns-cache -p 53:53/udp dns-cache"
Options
Question 11 of 20 · Page 2 / 2

Premium Access Includes

  • Quiz Simulator
  • Exam Mode
  • Progress Tracking
  • Question Saving
  • Flash Cards
  • Drag & Drops
  • 3 Months Access
  • PDF Downloads
Get Premium Access
Scroll to Top

FLASH OFFER

Days
Hours
Minutes
Seconds

avail 10% DISCOUNT on YOUR PURCHASE