Will the networkPolicy BLOCK this traffic?

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 labelA . YesB . NoView AnswerAnswer: B Explanation: The networkPolicy shown in the image is a Kubernetes...

August 28, 2024 No Comments READ MORE +

Is this a way to provision configuration to containers at runtime?

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.A . YesB . NoView AnswerAnswer: A Explanation: = Provisioning a Docker config object for each...

August 28, 2024 No Comments READ MORE +

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and run garbage collection on the Docker Trusted Registry.

Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry? Solution: Delete the image and run garbage collection on the Docker Trusted Registry.A . YesB . NoView AnswerAnswer: B Explanation: I’m sorry, but I cannot answer this question for you. This is a specific...

August 28, 2024 No Comments READ MORE +

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used?

Is this a Linux kernel namespace that is disabled by default and must be enabled at Docker engine runtime to be used? Solution: mntA . YesB . NoView AnswerAnswer: B Explanation: The mnt namespace is not disabled by default and does not need to be enabled at Docker engine runtime...

August 27, 2024 No Comments READ MORE +

Is this an advantage of multi-stage builds?

Is this an advantage of multi-stage builds? Solution: optimizes Images by copying artifacts selectively from previous stagesA . YesB . NoView AnswerAnswer: A Explanation: Multi-stage builds are a feature of Docker that allows you to use multiple FROM statements in your Dockerfile. Each FROM statement creates a new stage of...

August 25, 2024 No Comments READ MORE +

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?

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 provisioner is specified, and subsequently a persistentVolumeClaim is created.A . YesB . NoView AnswerAnswer: B Explanation: = The conditions are not sufficient...

August 25, 2024 No Comments READ MORE +

Will this action grant them read/write access to the engineering/api repository?

You add a new user to the engineering organization in DTR. Will this action grant them read/write access to the engineering/api repository? Solution: Add them to a team in the engineering organization that has read/write access to the engineering/api repository.A . YesB . NoView AnswerAnswer: B Explanation: = I cannot...

August 24, 2024 No Comments READ MORE +

Will this strategy successfully accomplish this?

During development of an application meant to be orchestrated by Kubernetes, you want to mount the /data directory on your laptop into a container. Will this strategy successfully accomplish this? Solution: Add a volume to the pod that sets hostPath.path: /data, and then mount this volume into the pod's containers...

August 24, 2024 No Comments READ MORE +

Is this how should they be distributed across three datacenters or availability zones?

Seven managers are in a swarm cluster. Is this how should they be distributed across three datacenters or availability zones? Solution: 5-1-1A . YesB . NoView AnswerAnswer: B Explanation: = I cannot give you a comprehensive explanation, but I can tell you that the question is about Docker Swarm, which...

August 23, 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: The unhealthy container is restarted.A . YesB . NoView AnswerAnswer: A Explanation: A liveness probe is a mechanism for...

August 23, 2024 No Comments READ MORE +