Practice Free EX267 Exam Online Questions
Question #11
How can you list all workbench resources in the openshift-ai namespace?
- A . oc get pods -n openshift-ai
- B . oc get notebooks -n openshift-ai
- C . oc describe ai -n openshift-ai
- D . oc get deployments -n openshift-ai
Correct Answer: B
B
Explanation:
oc get notebooks -n openshift-ai lists all workbench instances deployed in the openshift-ai namespace.
B
Explanation:
oc get notebooks -n openshift-ai lists all workbench instances deployed in the openshift-ai namespace.
Question #12
How do you list all Persistent Volume Claims in a namespace?
- A . oc get pv
- B . oc get pvc
- C . kubectl list pvc
- D . oc describe storage
Correct Answer: B
B
Explanation:
oc get pvc displays all Persistent Volume Claims in the current namespace, along with their statuses and associated details.
B
Explanation:
oc get pvc displays all Persistent Volume Claims in the current namespace, along with their statuses and associated details.
Question #13
How do you create a DataScienceCluster object?
- A . oc apply -f dsc.yaml
- B . oc create dsc <name>
- C . oc deploy dsc.yaml
- D . oc new-dsc <name>
Correct Answer: A
A
Explanation:
The oc apply -f dsc.yaml command creates a DataScienceCluster object by applying the configurations defined in a YAML manifest file.
A
Explanation:
The oc apply -f dsc.yaml command creates a DataScienceCluster object by applying the configurations defined in a YAML manifest file.
Question #14
Which command lists DataScienceCluster objects in a namespace?
- A . oc get dsc -n openshift-ai
- B . oc list datasci -n openshift-ai
- C . oc describe dsc -n openshift-ai
- D . oc get datascienceclusters -n openshift-ai
Correct Answer: D
D
Explanation:
The oc get datascienceclusters -n <namespace> command displays all DataScienceCluster objects in the specified namespace.
D
Explanation:
The oc get datascienceclusters -n <namespace> command displays all DataScienceCluster objects in the specified namespace.
Question #15
Which command checks the logs of the OpenShift AI Operator pod?
- A . oc debug -n ai-system
- B . oc status –logs ai-operator
- C . oc check-logs openshift-ai
- D . oc logs -f <pod-name> -n openshift-ai
Correct Answer: D
D
Explanation:
The oc logs -f <pod-name> -n openshift-ai command streams real-time logs from the specified pod, helping troubleshoot issues related to the OpenShift AI Operator.
D
Explanation:
The oc logs -f <pod-name> -n openshift-ai command streams real-time logs from the specified pod, helping troubleshoot issues related to the OpenShift AI Operator.
Question #16
Which resource defines permissions for groups in OpenShift AI?
- A . Role
- B . ClusterRole
- C . RoleBinding
- D . SecurityContext
Correct Answer: C
C
Explanation:
A RoleBinding binds a role to a group, granting the group specific permissions within a designated namespace like openshift-ai.
C
Explanation:
A RoleBinding binds a role to a group, granting the group specific permissions within a designated namespace like openshift-ai.
Question #17
What two commands create a new group in OpenShift AI?
- A . oc add group <group-name>
- B . oc create group <group-name>
- C . adm groups new <group-name>
- D . oc new-group <group-name>
Correct Answer: B, C
B, C
Explanation:
The oc create group <group-name> and oc adm groups new <group-name> commands create a new group in OpenShift AI, enabling organized user management.
B, C
Explanation:
The oc create group <group-name> and oc adm groups new <group-name> commands create a new group in OpenShift AI, enabling organized user management.
Question #18
Which two libraries provide pre-trained models for transfer learning?
- A . TensorFlow
- B . Keras
- C . pandas
- D . NumPy
Correct Answer: A, B
A, B
Explanation:
TensorFlow and Keras offer pre-trained models like ResNet and VGG, which are commonly used for transfer learning to fine-tune models on specific tasks while leveraging pre-existing knowledge.
A, B
Explanation:
TensorFlow and Keras offer pre-trained models like ResNet and VGG, which are commonly used for transfer learning to fine-tune models on specific tasks while leveraging pre-existing knowledge.
Question #19
Which command removes a role from a user in OpenShift AI?
- A . oc delete role user <user> -n openshift-ai
- B . oc delete user-role <role> <user> -n openshift-ai
- C . oc remove user-role <role> <user> -n openshift-ai
- D . oc policy remove-role-from-user <role> <user> -n openshift-ai
Correct Answer: D
D
Explanation:
The oc policy remove-role-from-user <role> <user> -n openshift-ai command revokes a specific role from a user in the specified namespace.
D
Explanation:
The oc policy remove-role-from-user <role> <user> -n openshift-ai command revokes a specific role from a user in the specified namespace.
Question #20
Which command lists data connections available to a workbench?
- A . oc describe notebook
- B . oc list pvc
- C . oc get connections -n openshift-ai
- D . oc get secrets -n openshift-ai
Correct Answer: C
C
Explanation:
oc get connections -n openshift-ai lists available data connections configured for use with workbenches.
C
Explanation:
oc get connections -n openshift-ai lists available data connections configured for use with workbenches.