exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 133 discussion

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

Which two statements are true about Oracle synonyms? (Choose two.)

  • A. Any user can create a public synonym.
  • B. A synonym has an object number.
  • C. A synonym can be created on an object in a package.
  • D. All private synonym names must be unique in the database.
  • E. A synonym can have a synonym.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️

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
Oracle2020
3 months ago
AD is correct. A -TRUE: You can create both public and private synonyms. A public synonym is owned by the special user group named PUBLIC and is accessible to every user in a database. A private synonym is contained in the schema of a specific user and available only to the user and to grantees for the underlying object.
upvoted 1 times
khaleesi89
2 months, 1 week ago
the question says Any user...and it's not true. Not any user can create a public synonym but as you say a special user group.
upvoted 2 times
...
...
zouve
11 months ago
Selected Answer: CE
CE same question in 1z0-071
upvoted 1 times
zouve
10 months, 3 weeks ago
select object_id, object_name, OBJECT_TYPE from all_objects; i can see object_id to every synonym
upvoted 1 times
...
...
auwia
12 months ago
Selected Answer: CE
Provided answer are wrong, C and E are corrects in my opinion: A. Any user can create a public synonym. --> False, you need grants. B. A synonym has an object number. --> False, OBJECT ID C. A synonym can be created on an object in a package. --> True. you can grant to object type like function, store procedure, etc. D. All private synonym names must be unique in the database. --> False, must be unique in the SCHEMA. E. A synonym can have a synonym. --> True.
upvoted 2 times
shotcom
9 months, 3 weeks ago
https://asktom.oracle.com/pls/apex/f%3Fp%3D100:11:0::::P11_QUESTION_ID:4743759113231 according to that link you cant create a synonym for an object in a package. yes you can create a synonym for the package itself but not for the objects inside the package so C is wrong
upvoted 1 times
...
auwia
12 months ago
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-SYNONYM.html#GUID-A806C82F-1171-478E-A910-F9C6C42739B2
upvoted 1 times
[Removed]
9 months, 1 week ago
From the same link: "Restriction on the FOR Clause The schema object cannot be contained in a package." From the same link
upvoted 1 times
...
...
auwia
12 months ago
C. A synonym can be created on an object in a package. --> True. you can link* to object type like function, store procedure, etc.
upvoted 1 times
...
...
Darkseid1231
1 year ago
B D is correct
upvoted 1 times
...
nautil2
1 year, 1 month ago
Selected Answer: BE
A: FALSE, a user needs privilege CREATE PUBLIC SYNONYM to do it B: TRUE SQL> SELECT owner, object_type, object_name, object_id FROM dba_objects WHERE object_id=20770; OWNER OBJECT_TYPE OBJECT_NAME OBJECT_ID -------------------- ----------- ---------------- ---------- GSMADMIN_INTERNAL SYNONYM DDL_REQUESTS_PWD 20770 C: FALSE; D: FALSE SQL> SELECT object_name, object_type, object_id, owner FROM dba_objects WHERE object_type='SYNONYM' AND owner LIKE 'KOTELNIK%'; OBJECT_NAME OBJECT_TYPE OBJECT_ID OWNER --------------- ----------- ---------- ----------- EMPLOYEES_S SYNONYM 76119 KOTELNIK1 EMPLOYEES_S SYNONYM 76128 KOTELNIK2E: E: TRUE, https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/CREATE-SYNONYM.html#GUID-A806C82F-1171-478E-A910-F9C6C42739B2 Use the CREATE SYNONYM statement to create a synonym, which is an alternative name for ... another synonym
upvoted 2 times
...
ivanadj
1 year, 5 months ago
Selected Answer: BE
The same question as in 1z0-071 Question #: 270
upvoted 2 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