OCP Core Administration And Cdb Pdb Architecture Practice Question
Which command is used to display the current container you are connected to?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
SHOW CON_NAME
SHOW CON_NAME shows the current container name in SQL*Plus.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
SHOW CDB_NAME
Why it's wrong here
This is not a command.
- ✗
SHOW CURRENT_PDB
Why it's wrong here
This is not a command.
- ✗
SELECT CONTAINER FROM DUAL
Why it's wrong here
This is not valid syntax.
- ✓
SHOW CON_NAME
Why this is correct
Displays the current container context.
About these practice questions
One of 314 original OCP practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Oracle exam blueprint
This OCP practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the OCP exam.