Which command uses a template dev/lampstack and sets PORT=8080 for an app named myjava without specifying namespace?

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 uses a template dev/lampstack and sets PORT=8080 for an app named myjava without specifying namespace?

Explanation:
You’re proving you can create an app from a template, override a template parameter, and avoid setting a namespace. The command uses the template dev/lampstack, sets the parameter PORT to 8080 with -p PORT=8080, and names the resulting application myjava with --name myjava. Not including a namespace flag means you’re operating in the current project/namespace, rather than targeting a specific one. This combination exactly matches the request: template reference, parameter override, named app, no explicit namespace.

You’re proving you can create an app from a template, override a template parameter, and avoid setting a namespace. The command uses the template dev/lampstack, sets the parameter PORT to 8080 with -p PORT=8080, and names the resulting application myjava with --name myjava. Not including a namespace flag means you’re operating in the current project/namespace, rather than targeting a specific one. This combination exactly matches the request: template reference, parameter override, named app, no explicit namespace.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy