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'
Will this command list all nodes in a swarm cluster from the command line?
Solution: 'docker swarm nodes'
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: resource reservation
Will this command display a list of volumes for a specific container?
Solution: 'docker container inspect nginx'
Will a DTR security scan detect this?
Solution: licenses for known third party binary components
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: The unhealthy container is restarted.
You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_C0NTENT_TRUST=l. If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution.docker image build, from a Dockeflle that begins FROM myorg/myimage: l1.0
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 events deployment api
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.
Will This command list all nodes in a swarm cluster from the command line?
Solution. ‘docker swarm nodes'
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution.Delete the image and remove permissions to the repository in the Docker
Trusted Registry.
A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its
address space.
If every pod on this node has exactly two containers in it, how many pods can
this address space support on this node?
Is this an advantage of multi-stage builds?
Solution: simultaneously creates and tags multiple images
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-3-1
Can this set of commands identify the published port(s) for a container?
Solution. ‘docker container inspect", docker port'
Which statement is correct about cluster management in Docker Enterprise Edition 3.x?
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 3-2-2
A users attempts to set the system time from inside a Docker container are unsuccessful. Could this be blocking this operation?
Solution: Linux capabilities
A company's security policy specifies that development and production containers must run on separate nodes in a given Swarm cluster.
Can this be used to schedule containers to meet the security policy requirements?
Solution: node taints
One of several containers in a pod is marked as unhealthy after failing its livenessProbe many times. Is this the action taken by the orchestrator to fix the unhealthy container?
Solution: Kubernetes automatically triggers a user-defined script to attempt to fix the unhealthy container.
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Uninstall 'docker-ce' package before installing 'docker-ee' package.
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution: Delete '/var/lib/docker' directory.
In the context of a swarm mode cluster, does this describe a node?
Solution: a physical machine participating in the swarm
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 service inspect http'
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 containers on the bridge network
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: one manager node for two worker nodes
What is the difference between the ADD and COPY Dockerfile instructions? (Select two.)
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'
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
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: docker logs
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution:docker service create --network --secure
Is this a type of Linux kernel namespace that provides container isolation?
Solution: Authentication
An application image runs in multiple environments, with each environment using different certificates and ports.
Is this a way to provision configuration to containers at runtime?
Solution: Provision a Docker config object for each environment.
Will this command ensure that overlay traffic between service tasks is encrypted?
Solution: docker network create -d overlay -o encrypted=true
You want to create a container that is reachable from its host's network.
Does this action accomplish this?
Solution: Use network attach to access the container on the bridge network.
Which networking drivers allow you to enable multi-host network connectivity
between containers?
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.
Will this configuration achieve fault tolerance for managers in a swarm?
Solution: at least seven nodes in total
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.docker run -- log driver=splunk for every container at run time
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Manually delete all layers used by the image on the disk from the Docker Trusted Registry.
Is this a supported user authentication method for Universal Control Plane?
Solution.SAML
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.
Is this a supported user authentication method for Universal Control Plane?
Solution.x.500
Seven managers are in a swarm cluster.
Is this how should they be distributed across three datacenters or availability zones?
Solution: 5-1-1
Will this action upgrade Docker Engine CE to Docker Engine EE?
Solution.Disable the Docker service via ‘chkconfig' or 'systemctl'.
Is this statement correct?
Solution: A Dockerfile stores the Docker daemon's configuration options.