exam questions

Exam 1z0-082 All Questions

View all questions & answers for the 1z0-082 exam

Exam 1z0-082 topic 1 question 44 discussion

Actual exam question from Oracle's 1z0-082
Question #: 44
Topic #: 1
[All 1z0-082 Questions]

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?

  • A. It must be the value of the SERVICE_NAMES parameter on the client side
  • B. It must resolve to a valid connect descriptor in the server's tnsnames.ora file
  • C. It must resolve to a valid connect descriptor in the client's tnsnames.ora file
  • D. It must be the name of the database to whose instance HR wishes to connect
  • E. It must be the name of the server running the database to whose instance HR wishes to connect
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Rivaldo11
Highly Voted 2 years, 5 months ago
It should be C.
upvoted 24 times
Ekos
2 years ago
i agree
upvoted 1 times
...
adoptc94
2 years, 3 months ago
I agree correct answer should be C
upvoted 2 times
...
...
raferen10
Most Recent 3 days, 15 hours ago
Selected Answer: C
C is correct
upvoted 2 times
...
OCP19c
2 months, 3 weeks ago
Selected Answer: C
It's Answer C
upvoted 2 times
...
Franky_T
7 months, 3 weeks ago
Selected Answer: C
A is wrong. SERVICE_NAMES is an instance parameter on server side. B is wrong. The connect descriptor must be accessible to the client and therefore cannot be on the server side. C is correct. Service name resolution must happen at client side so we need a local TNSNAMES.ORA file with the appropriate connect descriptor. D is wrong. You never connect to a database, but rather to a database instance via a service. E is wrong. The server name has nothing to do with the service.
upvoted 3 times
...
ryuah
11 months, 1 week ago
C is correct
upvoted 1 times
...
NowOrNever
2 years, 2 months ago
E - correct https://docs.oracle.com/cd/E17781_01/server.112/e18804/connecting.htm#ADMQS142 username/password@[//]host[:port][/service_name] CONNECT system/[email protected]/XE
upvoted 3 times
SimoneF
1 year, 11 months ago
"port (optional) is the TCP port number on which the Oracle Net listener is listening. If not specified, the default port number 1521 is assumed." So you cannot use that syntax in this case, since it would try to connect on port 1521 while the listener, as per question, is configured to listen on port 1531. C is correct because "Name server" is referred to the record in a DNS but it doesn't change the fact that the tns must point to the correct server, either using an IP or direct resolution of the address via hosts file.
upvoted 5 times
...
NowOrNever
2 years, 2 months ago
C is correct
upvoted 1 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago