Exam EX280 Topic 6 Question 10 Discussion

Actual exam question for RedHat's EX280 exam
Question #: 10
Topic #: 6
Configure an application to use a secret
Configure the application called qed in the math project with the following requirements:
The application uses the secret previously created called: magic The secret defines an environment variable with name: DECODER_RING The application output no longer displays: Sorry, application is not configured correctly.

Suggested Answer:

See the solution below in Explanation.
Explanation:
Solution:
$ oc get all | grep deploy
$ oc set env --from=secret/magic deployment.apps/qed

by Kirk at Jul 27, 2026, 01:52 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10