In the image change trigger example, which resource is targeted for the trigger update?

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

In the image change trigger example, which resource is targeted for the trigger update?

Explanation:
The image change trigger targets the DeploymentConfig resource named php. In OpenShift, image change triggers are wired to DeploymentConfig resources, so when a new image is built, the trigger updates the DeploymentConfig (for the PHP app) to use that new image and trigger a new rollout. The phrasing “deployment config php” clearly conveys the resource type (DeploymentConfig) and its name (php), which is why it’s the best fit. The other options either mix resource types or use a notation that doesn’t align with how the trigger references the target DeploymentConfig.

The image change trigger targets the DeploymentConfig resource named php. In OpenShift, image change triggers are wired to DeploymentConfig resources, so when a new image is built, the trigger updates the DeploymentConfig (for the PHP app) to use that new image and trigger a new rollout. The phrasing “deployment config php” clearly conveys the resource type (DeploymentConfig) and its name (php), which is why it’s the best fit. The other options either mix resource types or use a notation that doesn’t align with how the trigger references the target DeploymentConfig.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy