BASE
EXAM DUMPS
REDHAT
EX288
28% OFF Automatically For You
Red Hat Certified OpenShift Application Developer
exam
, 1.Which command creates a new project in OpenShift?
A. oc create project <name>
B. oc new-project <name>
C. oc create ns <name>
D. kubectl create namespace <name>
Answer: B
Explanation:
The oc new-project command creates a new project in OpenShift and switches to it. It
sets up the environment automatically, making it the preferred command for project
creation.
2.What role is assigned by default to the user who creates a project in OpenShift?
ly
A. admin
ck
ui
B. cluster-admin
Q
C. project-owner
m
xa
D. editor
E
Answer: A
r
ou
Explanation: Y
The admin role is assigned by default to the project creator, giving them full control
s
as
over project resources without cluster-level permissions.
P
to
)
02
3.Which of the following commands lists all projects a user has access to?
8.
(V
A. oc get projects
ps
B. oc get namespaces
um
C. oc projects
D
D. kubectl get namespaces
8
28
Answer: C
X
E
Explanation:
at
The oc projects command lists all projects accessible to the user, making it easier to
H
ed
navigate between OpenShift projects.
R
4.How can you set a specific project as the default for your oc commands?
A. Use oc use-project <name>
B. Use oc set project <name>
C. Use oc project <name>
D. Use oc config set-context
Answer: C
Explanation:
The oc project <name> command switches the current context to the specified project
and makes it the default for subsequent oc commands.