What is the deployment config name used in the removal command?

Prepare for the Red Hat Openshift Developer EX288 Exam. Study with comprehensive quizzes and flashcards. Each question includes hints and explanations to enhance your understanding. Ace your exam with confidence!

Multiple Choice

What is the deployment config name used in the removal command?

Explanation:
In OpenShift, removing a deployment component is done by targeting the DeploymentConfig resource by its name. In this scenario, the component that handles the MySQL is defined as a DeploymentConfig named mysql, so the removal command specifies that name (for example, oc delete dc mysql or oc delete deploymentconfig mysql). That’s why mysql is the correct choice—the command is removing the DeploymentConfig that corresponds to the MySQL component. The other names would refer to different components if you were removing those instead, but the question asks which DeploymentConfig name is used in the removal command, which is mysql.

In OpenShift, removing a deployment component is done by targeting the DeploymentConfig resource by its name. In this scenario, the component that handles the MySQL is defined as a DeploymentConfig named mysql, so the removal command specifies that name (for example, oc delete dc mysql or oc delete deploymentconfig mysql). That’s why mysql is the correct choice—the command is removing the DeploymentConfig that corresponds to the MySQL component. The other names would refer to different components if you were removing those instead, but the question asks which DeploymentConfig name is used in the removal command, which is mysql.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy