Practice Free EX267 Exam Online Questions
Question #41
How do you check the storage class used by a PVC?
- A . oc get pvc <name>
- B . oc describe pvc <name>
- C . oc view pvc <name>
- D . oc debug pvc <name>
Correct Answer: A, B
A, B
Explanation:
Both oc get pvc <name> and oc describe pvc <name> display the storage class associated with the PVC, showing how storage is provisioned.
A, B
Explanation:
Both oc get pvc <name> and oc describe pvc <name> display the storage class associated with the PVC, showing how storage is provisioned.
Question #42
Which command lists all available InferenceService instances in a namespace?
- A . kubectl get inference
- B . oc get runtimes
- C . kubectl get services
- D . kubectl get inferenceservices
Correct Answer: D
D
Explanation:
kubectl get inferenceservices lists all InferenceService resources available in the specified Kubernetes namespace.
D
Explanation:
kubectl get inferenceservices lists all InferenceService resources available in the specified Kubernetes namespace.
Question #43
Which function in Flask returns predictions as a JSON response?
- A . response()
- B . render_template()
- C . redirect()
- D . jsonify()
Correct Answer: D
D
Explanation:
jsonify() converts Python data structures, such as dictionaries and lists, into JSON responses, making it suitable for returning model predictions via REST APIs.
D
Explanation:
jsonify() converts Python data structures, such as dictionaries and lists, into JSON responses, making it suitable for returning model predictions via REST APIs.
Question #44
Which resource limits user access to specific projects in OpenShift AI?
- A . Role
- B . RoleBinding
- C . ClusterRole
- D . ProjectQuota
Correct Answer: B
B
Explanation:
A RoleBinding restricts user access by binding specific roles to users or groups within a particular project or namespace.
B
Explanation:
A RoleBinding restricts user access by binding specific roles to users or groups within a particular project or namespace.
Question #45
Which component in KServe is responsible for pre-processing requests before inference?
- A . Router
- B . Transformer
- C . Predictor
- D . Explainer
Correct Answer: B
B
Explanation:
The Transformer component pre-processes input data before sending it to the predictor for inference, such as data normalization.
B
Explanation:
The Transformer component pre-processes input data before sending it to the predictor for inference, such as data normalization.
Question #46
Which Git command clones a remote repository to your local environment?
- A . git pull <repo-url>
- B . git init <repo-url>
- C . git fetch <repo-url>
- D . git clone <repo-url>
Correct Answer: D
D
Explanation:
git clone <repo-url> copies the remote repository to your local environment, including all branches and history.
D
Explanation:
git clone <repo-url> copies the remote repository to your local environment, including all branches and history.
Question #47
Which two commands help troubleshoot a failing InferenceService in KServe?
- A . kubectl describe inferenceservice <name>
- B . kubectl logs <pod-name>
- C . kubectl restart service <name>
- D . kubectl delete service <name>
Correct Answer: A, B
A, B
Explanation:
kubectl describe provides detailed resource information, and kubectl logs shows logs to diagnose InferenceService issues.
A, B
Explanation:
kubectl describe provides detailed resource information, and kubectl logs shows logs to diagnose InferenceService issues.
Question #48
Which component ensures the DataScienceCluster object is reconciled?
- A . AI Reconciler
- B . DataScienceCluster Controller
- C . Cluster Manager
- D . OpenShift AI Operator
Correct Answer: B
B
Explanation:
The DataScienceCluster Controller ensures the state of the DataScienceCluster matches its definition by reconciling any differences.
B
Explanation:
The DataScienceCluster Controller ensures the state of the DataScienceCluster matches its definition by reconciling any differences.
Question #49
What two Operators are essential for managing DataScienceCluster objects?
- A . GPU Operator
- B . OpenShift AI Operator
- C . DataScienceCluster Operator
- D . Notebook Operator
Correct Answer: B, C
B, C
Explanation:
The OpenShift AI Operator and DataScienceCluster Operator manage deployment, updates, and lifecycle tasks for DataScienceCluster objects.
B, C
Explanation:
The OpenShift AI Operator and DataScienceCluster Operator manage deployment, updates, and lifecycle tasks for DataScienceCluster objects.
Question #50
What command installs the Dask library for scalable data processing in Python?
- A . pip install numpy
- B . pip install tensorflow
- C . pip install pandas
- D . pip install dask
Correct Answer: D
D
Explanation:
The command pip install dask installs the Dask library, enabling parallel computation and efficient handling of large datasets in Python.
D
Explanation:
The command pip install dask installs the Dask library, enabling parallel computation and efficient handling of large datasets in Python.