Master Oracle Database 23ai with Cutting-Edge 1Z0-182 Prep Tools
In one of your databases, the user HR has the password HRMGR. You want to connect to a database instance whose listener listens on port 1531 by using this statement: CONNECT HR/HRMGR@orcl. No name server is used. Which statement is true about ORCL?
Correct : B
A .False. ORCL is a TNS alias, not necessarily the DB name.
B .True. Must map to a connect descriptor (e.g., HOST=... PORT=1531) in tnsnames.ora.
C .False. It's not the server name but a network alias.
D .False. Client-side tnsnames.ora is used, not server-side.
E .False. SERVICE_NAMES is server-side, not client-side.
Start a Discussions
Which of the following ALTER SYSTEM statements can be run from within a pluggable database (PDB)?
Correct : A, D
A .True. Local checkpoints are allowed in PDBs.
B .False. Buffer cache is CDB-level.
C .False. Log switching is CDB-level.
D .True. Restricted session can be toggled per PDB.
Start a Discussions
You want to apply the principle of Least Privilege in all your live databases. One of your requirements is to revoke unnecessary privileges from all users who have them using Privilege Analysis. Which three types of analyses can be done using the DBMS_PRIVILEGE_CAPTURE package?
Correct : A, E, F
A .True. Captures unused self-owned object privileges.
B .False. SYS is excluded from capture.
C .False. No exclusion option for admin users.
D .False. Direct role grants aren't separately analyzed.
E .True. Tracks indirect role privileges used.
F .True. Identifies used self-owned privileges.
Start a Discussions
Examine this command: SQL> ALTER TABLE ORDERS SHRINK SPACE COMPACT; Which two statements are true?
Correct : E, F
A . Dependent indexes become UNUSABLE.False. SHRINK SPACE COMPACT does not affect index usability; only SHRINK SPACE without COMPACT may require index maintenance if CASCADE is omitted.
B . ... starting toward the end of the ORDERS segment.False. Rows are compacted toward the beginning of the segment, not the end.
C . Only queries are allowed ...False. Both queries and DML are allowed during SHRINK SPACE COMPACT as it's an online operation.
D . The high-water mark (HWM) of ORDERS is adjusted.False. COMPACT moves rows but doesn't adjust the HWM; the full SHRINK SPACE command is needed for HWM adjustment.
E . Queries and DML statements are allowed ...True. This is an online operation in 23ai, allowing concurrent access.
F . ... starting from the beginning of the ORDERS segment.True. Rows are moved to fill free space from the segment's start.
Start a Discussions
Which advisor is used to detect missing or stale object statistics?
Correct : B
B .True. The SQL Statistics Advisor (new in 23ai) identifies stale or missing statistics. Others focus on tuning, performance analysis, or access paths.
Start a Discussions
Total 94 questions