Which command stops a currently running build named phpbuild-2?

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

Which command stops a currently running build named phpbuild-2?

Explanation:
Canceling a running OpenShift build is done with the cancel-build command on the specific build name. This signals the Build resource to stop the in-progress process and marks the build as Cancelled. For a build named phpbuild-2, the correct action is to run oc cancel-build phpbuild-2. Other suggested commands aren’t standard oc client actions for stopping a live build, so they don’t apply here.

Canceling a running OpenShift build is done with the cancel-build command on the specific build name. This signals the Build resource to stop the in-progress process and marks the build as Cancelled. For a build named phpbuild-2, the correct action is to run oc cancel-build phpbuild-2. Other suggested commands aren’t standard oc client actions for stopping a live build, so they don’t apply here.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy