ExamGecko
Home Home / Docker / DCA

Docker DCA Practice Test - Questions Answers, Page 19

Question list
Search
Search

Related questions











Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution. Disable the Docker service via 'chkconfig' or 'systemctl'.

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: B

Explanation:

The action willnotupgrade Docker Engine CE to Docker Engine EE.Disabling the Docker service viachkconfigorsystemctlwill only stop the Docker daemon from running, but it will not change the version or edition of the Docker engine1.To upgrade Docker Engine CE to Docker Engine EE, you need to follow these steps2:

Download your Docker Enterprise license from theDocker Store).

Install thedocker-eepackage from the Docker repository.

Restart the Docker service and verify the version and edition.Reference: Start or stop the Docker daemon),How to upgrade Docker 18.09 Community Edition to Docker Enterprise 18.09)

Will this action upgrade Docker Engine CE to Docker Engine EE?

Solution. Run docker engine activate.

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: A

Explanation:

Runningdocker engine activatewill upgrade Docker Engine CE to Docker Engine EE. This is a feature that allows you to switch from the Community Edition to the Enterprise Edition without reinstalling Docker or losing any data.You need to have a valid license file and a subscription to Docker EE to use this feature1.Docker EE is a premium version of Docker CE that offers additional features, such as security scanning, image management, and certified plugins23.Reference:

Upgrade Docker Engine | Docker Docs

What is the exact difference between Docker EE (Enterprise Edition), Docker CE (Community Edition) and Docker (Custom Support) - Stack Overflow

Docker Community Edition or Docker Enterprise Edition - Docker | BoxBoat

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

Solution. 'kubectl gel pods --all-namespaces -I 'env in (development)''

A.

Yes

A.

Yes

Answers
B.

No

B.

No

Answers
Suggested answer: B

Explanation:

The commandkubectl gel pods --all-namespaces -l 'env in (development)'does not display all the pods in the cluster that are labeled asenv: development. The command has two typos that prevent it from working correctly. First, the verb should begetinstead ofgel.Second, the label selector flag should be-linstead of-I1.The correct command should bekubectl get pods --all-namespaces -l 'env in (development)', which will list all the pods across all namespaces that have a labelenvwith a valuedevelopment2.Reference:

kubectl Cheat Sheet | Kubernetes

Labels and Selectors | Kubernetes

Total 183 questions
Go to page: of 19