Will this command display a list of volumes for a specific container?

Will this command display a list of volumes for a specific container? Solution: docker volume logs nginx --containers'A . YesB . NoView AnswerAnswer: B Explanation: = I cannot give you a comprehensive explanation, but I can tell you that the command is not correct. The docker volume command is used...

August 23, 2024 No Comments READ MORE +

Will a DTR security scan detect this?

Will a DTR security scan detect this? Solution: licenses for known third party binary componentsA . YesB . NoView AnswerAnswer: A Explanation: A DTR security scan will detect licenses for known third party binary components. This is because DTR security scan uses a database of vulnerabilities and licenses that is...

August 22, 2024 No Comments READ MORE +

If myorg/myimage: 1.0 is unsigned, does Docker block this command?

You configure a local Docker engine to enforce content trust by setting the environment variable DOCKER_CONTENT_TRUST=1. If myorg/myimage: 1.0 is unsigned, does Docker block this command? Solution: docker image import <tarball> myorg/myimage:1.0A . YesB . NoView AnswerAnswer: A Explanation: Docker Content Trust (DCT) is a feature that allows users to...

August 22, 2024 No Comments READ MORE +

Is this the purpose of Docker Content Trust?

Is this the purpose of Docker Content Trust? Solution: Enable mutual TLS between the Docker client and server.A . YesB . NoView AnswerAnswer: B Explanation: = Docker Content Trust (DCT) is a feature that allows users to verify the integrity and publisher of container images they pull or deploy from...

August 22, 2024 No Comments READ MORE +

Is this a supported user authentication method for Universal Control Plane?

Is this a supported user authentication method for Universal Control Plane? Solution: PAMA . YesB . NoView AnswerAnswer: B Explanation: PAM is not a supported user authentication method for Universal Control Plane. According to the official documentation, the supported methods are LDAP, Active Directory, SAML 2.0, and local users. Reference:...

August 21, 2024 No Comments READ MORE +

Will this command ensure that overlay traffic between service tasks is encrypted?

Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker service create --network --encryptedA . YesB . NoView AnswerAnswer: B Explanation: = The command docker service create --network --encrypted will not ensure that overlay traffic between service tasks is encrypted. This is because the --network flag...

August 21, 2024 No Comments READ MORE +

Will this command ensure that overlay traffic between service tasks is encrypted?

Will this command ensure that overlay traffic between service tasks is encrypted? Solution: docker service create --network --secureA . YesB . NoView AnswerAnswer: B Explanation: : = The command docker service create --network --secure will not ensure that overlay traffic between service tasks is encrypted. This is because the --secure...

August 20, 2024 No Comments READ MORE +

Is this statement correct about this health check definition?

The following Docker Compose file is deployed as a stack: Is this statement correct about this health check definition? Solution: Health checks test for app health ten seconds apart. Three failed health checks transition the container into “unhealthy” status.A . YesB . NoView AnswerAnswer: B Explanation: The statement is not...

August 20, 2024 No Comments READ MORE +

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?

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.A . YesB . NoView AnswerAnswer: B...

August 19, 2024 No Comments READ MORE +

Does this command display all the pods in the cluster that are labeled as 'env: development'?

Does this command display all the pods in the cluster that are labeled as 'env: development'? Solution: 'kubectl get pods --all-namespaces -label env=development'A . YesB . NoView AnswerAnswer: B Explanation: = The command kubectl get pods --all-namespaces -label env=development is not valid because it has a syntax error. The correct...

August 19, 2024 No Comments READ MORE +