Question 1
Which OpenShift CLI command deploys a containerized application directly from a Git repository using the Source-to-Image (S2I) strategy?
Correct Answer:
oc new-app https://github.com/myorg/myapp.git
Question 2
A developer needs to expose a Deployment named `frontend` to external traffic on port 80 as a Route in OpenShift. What is the fastest way using the `oc` CLI?
Correct Answer:
oc expose deployment/frontend --port=80
Question 3
In OpenShift, which resource type provides automated builds triggered by changes to a source code repository or base image?
Correct Answer:
BuildConfig
Question 4
Which `oc` command shows the current build status and streams the build log for a BuildConfig named `myapp`?
Correct Answer:
oc start-build myapp --follow
Question 5
An OpenShift ConfigMap named `app-config` contains a key `database.url`. How do you inject this value as an environment variable named `DB_URL` into a Deployment?
Correct Answer:
Use valueFrom.configMapKeyRef in the Deployment's container env spec
Question 1
Exam overview

About this Exam

Prepare with the EX342 Practice Questions - Red Hat Certified Specialist in Containerized Services on OpenShift exam (EX342) Exam practice quiz. This question bank includes 100 questions covering openshift, command, deployment, application, and named. Use it to review important concepts, identify knowledge gaps, and build confidence for the related exam, course, or assessment.

More details

Additional Information

EX342 Practice Questions - Red Hat Certified Specialist in Containerized Services on OpenShift exam (EX342) Exam

This practice set contains 100 questions from the matching question bank and focuses on openshift, command, deployment, application, and named. Work through each question carefully, review the provided solutions, and revisit topics that need more study before your next attempt.

This is an independent study resource intended for practice and review; it is not an official examination or an endorsement by any organization named in the title.

Quiz information

Frequently Asked Questions

The complete question count is available after full access is unlocked.
No fixed duration is currently configured for this quiz.
Question explanations are included where they are available in the quiz content, helping you review the reasoning after answering.
Yes. You can retake the practice test again as you continue studying during your available access period.
After your access is confirmed, you can continue into the complete practice exam from this quiz flow.
Unless explicitly stated otherwise, this page provides independent practice material for study and exam preparation and is not the official examination itself.
Keep studying

Related Questions