View pod logs in an OpenShift cluster

Question:
Which command is used to view logs for pods in an OpenShift cluster?

  1. oc describe logs
  2. oc view logs
  3. oc get logs
  4. oc logs
Answer:
D - is the correct answer. The "oc logs" command is used to view logs for pods within an OpenShift cluster. This command allows administrators to retrieve and analyze logs for troubleshooting and monitoring purposes