exam questions

Exam 1z0-083 All Questions

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

Exam 1z0-083 topic 1 question 48 discussion

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

Examine this configuration:
1. CDB1 is a container database.
2. COMMON_USER_PREFIX is C##.
3. PDB1 is a pluggable database contained in CDB1.
4. APP1_ROOT is an application container contained in CDB1.
5. APP1_PDB1 is an application PDB contained in APP1_ROOT.
You execute these commands successfully:

Which two are true? (Choose two.)

  • A. APP1_USER1 can be created in PDB1.
  • B. APP1_USER1 can be created in CDB1.
  • C. APP1_USER1 can have different privileges in each Application PDB contained in APP1_ROOT.
  • D. C##_APP_USER1 can be created in CDB1.
  • E. P1_USER1 can be created in CDB1.
  • F. C##_USER1 will have the same privileges and roles granted in all PDBs in CDB1.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
marcinb32
Highly Voted 4 years, 6 months ago
for me AD is correct.
upvoted 14 times
...
RinD
Highly Voted 3 years, 10 months ago
A and D For the common user: The username must be unique across all containers. So D is correct because APP_USER1 is different from APP1_USER1 in APP1_ROOT B,E are wrong because you can only create local user in specific PDB. A is true because APP1_USER1 is unique in PDB1 F is false because common user will not have the same privileges and role unless you grant it with option CONTAINER=ALL;
upvoted 5 times
RinD
3 years, 10 months ago
C is wrong because you can only grant privileges in application container and sync to all pdbs belong to it
upvoted 4 times
...
...
df404e2
Most Recent 2 months, 2 weeks ago
C can be done, as you technically are able to sync a different version of the application to every application PDB.
upvoted 1 times
...
Guhborges
1 year, 6 months ago
Selected Answer: AC
A,C. The letter D makes no sense, c##_app1 can be created at ANY TIME in cdb1, even without installing the patch in the approt
upvoted 1 times
...
_gio_
1 year, 8 months ago
Selected Answer: AD
ACD are all correct
upvoted 2 times
_gio_
1 year, 6 months ago
A just in case PDB is not synchronized with app cdb
upvoted 1 times
...
...
vkra
1 year, 11 months ago
Selected Answer: AD
for me A+D is correct.
upvoted 1 times
...
flaviogcmelo
3 years, 2 months ago
A. APP1_USER1 can be created in PDB1. - Correct. It can be created - Tested B. APP1_USER1 can be created in CDB1. - Wrong. It must be a common user to be created in the CDB1 C. APP1_USER1 can have different privileges in each Application PDB contained in APP1_ROOT. - Correct - You can grant differen privilege to a local user on application pdbs D. C##_APP_USER1 can be created in CDB1. - Correct. It has the common user prefix, but make no sense. E. P1_USER1 can be created in CDB1. - Wrong. It must be a common user to be created in the CDB1 F. C##_USER1 will have the same privileges and roles granted in all PDBs in CDB1. - Wrong. It may have different privileges in PDBs in CDB1 In my opinion there are three correct answers in this question: A C D
upvoted 3 times
...
rodriguesJC
3 years, 3 months ago
Answer: AC D and F: C##_ not C## B and E: common users in CDB
upvoted 2 times
freemun05
2 years, 9 months ago
SQL> create user C##_APP_USER1 identified by q12345; User created.
upvoted 1 times
...
...
wqui
3 years, 3 months ago
I think C is correct, becouse when you sync the PDB application, the user is created and we can grant whatever privilege we want, even in the next sync the privileges remaing forever until explicit revoke.
upvoted 1 times
...
dasigrist
3 years, 9 months ago
Is F wrong because the user created was C##USER1 and not C##_USER1?
upvoted 1 times
SimoneF
3 years, 8 months ago
Also, you can grant, for example, a privilege to a common user on the CDB$ROOT without specifying CONTAINER=ALL, meaning that privilege won't be replicated on the PDBS
upvoted 1 times
...
...
asefa
3 years, 11 months ago
C and F A ---PDB1 is pluggable db but APP1_USER1 is being created in App1_root not pdb B-- again the user is being created in application database not CDB
upvoted 3 times
...
janw
4 years, 5 months ago
very strange question for me, do they mean 'has been created' instead of can... B,E for sure incorrect due to c## prefix
upvoted 1 times
janw
4 years, 5 months ago
checked: A, C, D all ok. but only 2 are requested.... i would say C incorrect as that user exists after the app installation, which is not done in the example script
upvoted 5 times
Alejandrrro
3 years, 11 months ago
I also wasn't sure about D and agree with you that it may be incorrect due to the fact that a PDB wasn't synced after the app installation. So the user wasn't synced to a pdb.
upvoted 1 times
...
...
...
cerebro2000x
4 years, 5 months ago
DF for me
upvoted 1 times
...
julica
4 years, 5 months ago
C and F looks ok. A,B - APP1_USER1 is a local user and from output is created in app1_cdb1_app and not in PDB1 or CDB1 D - C##_APP_USER1 there is nothing about such user in output E - P1_USER1 - based on the output, is a user created in PDB1. If try from CDB: SQL> create user app1_user2 identified by oracle_4U; create user app1_user2 identified by oracle_4U * ERROR at line 1: ORA-65096: invalid common user or role name SQL>
upvoted 4 times
...
dacoben415lywenw
4 years, 7 months ago
ACD all should work. E is not true, because of the prefix issue others also are not true, which is checked on 19c
upvoted 2 times
...
you1234
4 years, 7 months ago
its possible to create normal user in CDB? i think always we need create user like in CDB user C## prefix
upvoted 1 times
...
klever35
4 years, 7 months ago
for me E F are 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