Exam 1Z0-182 Topic 3 Question 10 Discussion
Actual exam question for Oracle's 1Z0-182 exam
Question #: 10
Topic #: 3
Question #: 10
Topic #: 3
Script abc.sql must be executed to perform a certain task. User HR with password HR exists in the target database and the account is unlocked. The TNSNAMES.ORA file is up to date. Examine this command attempted by the user: $ sqlplus hr/hr@orcl @abc. What will happen and why?
Suggested Answer: E Vote an answer
A .False. "Logging out to the abc database" is nonsensical; abc is a script, not a database.
B .False. SQL*Plus finds abc.sql in the current directory by default; a full path isn't required unless it's elsewhere.
C .False. The first @ specifies the TNS alias (orcl), the second runs the script (@abc); this is valid syntax.
D & E.True (identical options). The command connects to orcl via TNSNAMES.ORA, authenticates HR, and executes abc.sql.
Mechanics:sqlplus hr/hr@orcl resolves orcl to a listener address, connects, and@abc runs the script post-login.
B .False. SQL*Plus finds abc.sql in the current directory by default; a full path isn't required unless it's elsewhere.
C .False. The first @ specifies the TNS alias (orcl), the second runs the script (@abc); this is valid syntax.
D & E.True (identical options). The command connects to orcl via TNSNAMES.ORA, authenticates HR, and executes abc.sql.
Mechanics:sqlplus hr/hr@orcl resolves orcl to a listener address, connects, and@abc runs the script post-login.
by Noah at Mar 11, 2026, 05:46 PM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).