Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: user authorization to the Docker APIA . YesB . NoView AnswerAnswer: B Explanation: = The role of Control Groups (cgroups) when used with a Docker container is not user authorization to the Docker API....

September 4, 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. If the test fails, the container will be restarted three times before it gets rescheduled.A . YesB . NoView AnswerAnswer: B...

September 4, 2024 No Comments READ MORE +

Is this a way to accomplish this?

Two development teams in your organization use Kubernetes and want to deploy their applications while ensuring that Kubernetes-specific resources, such as secrets, are grouped together for each application. Is this a way to accomplish this? Solution: Create one namespace for each application and add all the resources to it.A ....

September 4, 2024 No Comments READ MORE +

Does this describe the role of Control Groups (cgroups) when used with a Docker container?

Does this describe the role of Control Groups (cgroups) when used with a Docker container? Solution: accounting and limiting of resourcesA . YesB . NoView AnswerAnswer: A Explanation: = Control Groups (cgroups) are a feature of the Linux kernel that allow you to limit the access processes and containers have...

September 4, 2024 No Comments READ MORE +

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode?

Will this command mount the host's '/data' directory to the ubuntu container in read-only mode? Solution: 'docker run -v /data:/mydata --mode readonly ubuntu'A . YesB . NoView AnswerAnswer: B Explanation: = The command docker run -v /data:/mydata --mode readonly ubuntu is not valid because it has some syntax errors. The...

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

September 2, 2024 No Comments READ MORE +

memory?

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: seccompA . YesB . NoView AnswerAnswer: A Explanation: = Seccomp is a Linux kernel feature that allows you to restrict the actions available within the container. By using a seccomp profile,...

September 2, 2024 No Comments READ MORE +

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory?

Will this Linux kernel facility limit a Docker container's access to host resources, such as CPU or memory? Solution: cgroupsA . YesB . NoView AnswerAnswer: A Explanation: = (Please check the official Docker site for the comprehensive explanation) Reference: (Some possible references from the web search results are) Docker Certified...

September 2, 2024 No Comments READ MORE +

Can this be used to schedule containers to meet the security policy requirements?

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 taintsA . YesB . NoView AnswerAnswer: A Explanation: Node taints are a way to mark...

September 1, 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: 3-3-1A . YesB . NoView AnswerAnswer: B Explanation: = Distributing seven managers across three datacenters or availability zones as 3-3-1 is not the best way to ensure high availability...

September 1, 2024 No Comments READ MORE +