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 this service on port 80 will be routed to port 8080 in a random pod with the label app:
nginx.
In the context of a swarm mode cluster, does this describe a node?
Solution: an instance of the Docker engine participating in the swarm
Will this command list all nodes in a swarm cluster from the command line?
Solution: ‘docker Is -a’
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’
Will this command mount the host's '/data* directory to the ubuntu container in read-only mode?
Solution. ‘docker run -add-volume /data /mydata -read-only ubuntu'
The following Docker Compose file is deployed as a stack:
Is this statement correct about this health check definition?
Solution. Health checks lest for app health ten seconds apart. Three failed health checks transition the container into "unhealthy" status.
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-3-1
Is this the purpose of Docker Content Trust?
Solution: Verify and encrypt Docker registry TLS.
Is this a supported user authentication method for Universal Control Plane?
Solution. LDAP
The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this traffic?
Solution: a request issued from a pod bearing the tier: backend label, to a pod bearing the tier: frontend label
PDF + Testing Engine |
---|
$57.75 |
Testing Engine |
---|
$43.75 |
PDF (Q&A) |
---|
$36.75 |
Docker Free Exams |
---|
|