IBM Certified Administrator - Cloud Pak for Integration V2021.2 C1000-130 Question # 11 Topic 2 Discussion
C1000-130 Exam Topic 2 Question 11 Discussion:
Question #: 11
Topic #: 2
When upgrading Cloud Pak (or Integration and switching from Common Services (CS) monitoring to OpenShift monitoring, what command will check whether CS monitoring is enabled?
A.
oc get pods -n ibm-common-services | grep monitoring
When upgrading IBM Cloud Pak for Integration (CP4I) and switching from Common Services (CS) monitoring to OpenShift monitoring, it is crucial to determine whether CS monitoring is currently enabled.
The correct command to check this is:
sh
CopyEdit
oc get pods -n ibm-common-services | grep monitoring
This command (oc get pods -n ibm-common-services) lists all pods in the ibm-common-services namespace, which is where IBM Common Services (including monitoring components) are deployed.
Using grep monitoring filters the output to show only the monitoring-related pods.
If monitoring-related pods are running in this namespace, it confirms that CS monitoring is enabled.
B (oc list pods -A | grep -i monitoring) – Incorrect
The oc list pods command does not exist in OpenShift CLI. The correct command to list all pods across all namespaces is oc get pods -A.
C (oc describe pods/ibm-common-services | grep monitoring) – Incorrect
oc describe pods/ibm-common-services is not a valid OpenShift command. The correct syntax would be oc describe pod -n ibm-common-services, but this only provides details of a specific pod, not a general check for monitoring pods.
D (oc get containers -A) – Incorrect
The oc get containers command is not valid in OpenShift CLI. Instead, oc get pods -A lists all pods, but it does not specifically filter monitoring-related services in the ibm-common-services namespace.
Explanation of Incorrect Options:IBM Cloud Pak for Integration (CP4I) v2021.2 Administration References:
IBM Documentation: Monitoring IBM Cloud Pak foundational services
IBM Cloud Pak for Integration: Disabling foundational services monitoring
OpenShift Documentation: Managing Pods in OpenShift
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit