exam questions

Exam 1z0-082 All Questions

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

Exam 1z0-082 topic 1 question 58 discussion

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

In your data center, Oracle Managed Files (OMF) is used for all databases.
All tablespaces are smallfile tablespaces.
SALES_Q1 is a permanent user-defined tablespace in the SALES database.
Examine this command which is about to be issued by a DBA logged in to the SALES database:
ALTER TABLESPACE sales_q1 ADD DATAFILE;
Which are two actions, either one of which you could take to ensure that the command executes successfully? (Choose two.)

  • A. Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify with at least 50 Mb of available space.
  • B. Specify a path in the DATAFILE clause of the command specifying a location with at least 100M of available space.
  • C. Ensure that DB_CREATE_FILE_DEST specifies a location with at least 100 Mb of available space.
  • D. Add the AUTOEXTEND ON clause with NEXT set to 100M.
  • E. Ensure that DB_RECOVERY_FILE_DEST and DB_CREATE_FILE_DEST each specify locations with at least 50 Mb of available space.
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

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
NowOrNever
Highly Voted 3 years, 5 months ago
BC are the correct one https://oracle-base.com/articles/9i/oracle-managed-files - Files typically have a default size of 100M - if OMF is used you do not need to specify a path for the new created datafile BUT we have to "ensure that the command executes successfully" so we need a location with at least 100 MB free space and we can ensure that with B or C
upvoted 13 times
ama
3 years, 5 months ago
really? if my database using OMF i should not add a path for the datafile. The Database will do that for me !
upvoted 4 times
Phat
2 years, 10 months ago
yes, db does that for you, but if you want to specify the path, it also fine.
upvoted 2 times
...
...
...
Chansi
Highly Voted 3 years, 5 months ago
This B,C because the question says either one of the solution should work. Ina situation where there isn't enough space in the "db_create_file_dest" location, you either make sure to have enough space in "db_create_file_dest" or you can override by providing the path where there is enough space
upvoted 8 times
Ekos
3 years ago
i agree
upvoted 1 times
...
...
nautil2
Most Recent 2 months ago
Selected Answer: BC
A - false; without specifying SIZE, a new OMF datafile is created with size of 100 MB in DB_CREATE_FILE_DEST, therefore 50 MB space is not enough B - true; when using ALTER TABLESPACE sales_q1 ADD DATAFILE '<filename>'; command, <filename> can specify path of location. When the location contains at least 100 MB of available space, a new OMF datafile can be created. C - true; DB_CREATE_FILE dest is a default directory where new OMF datafiles are created with default size 100 MB D - false; AUTOEXTEND ON does not cause there is enough space for a new datafile E - false; it is the same as aswer A - same words
upvoted 3 times
...
cksim
9 months, 1 week ago
it is c and d. c is correct because of omf and make sure we have 100m space coz it is the default size d is correct because even though autoextend and next have default values, it is no harm to statement execution.
upvoted 2 times
...
Kuraudio
1 year, 1 month ago
Selected Answer: BC
BC is correct
upvoted 1 times
...
ryuah
1 year, 7 months ago
Selected Answer: BC
good choice
upvoted 2 times
...
Borislone
2 years, 6 months ago
BD is correct because in this case the database has both OMF and unmanaged files. with add data file clause, the path must be added
upvoted 1 times
...
adoptc94
3 years, 4 months ago
Correct answers are B,C Answers A and E are false as OMF defaults to a file size of at least 100MB As for answer D, you can omit the AUTOEXTEND clause, the database will use the default value of AUTOEXTEND UNLIMITED instead. Using AUTOEXTEND ON won't ensure that the command executes successfully, as the file will be autoextensible either way. So the only possible answers left are B and C.
upvoted 5 times
...
ama
3 years, 5 months ago
Here the evidence that D is correct Very unfortunately, the default AUTOEXTEND ON NEXT size is 1 Database block (based on the blocksize of the tablespace). But if you create your Tablespace using OMF (i.e. where "db_create_file_dest" is configured), then Oracle defaults the initial size to 100MB and *also* defaults the AUTOEXTEND to ON with a of 100MB !
upvoted 2 times
SimoneF
3 years ago
I think what you just quoted actually disproves D: if the autoextend is already automatically set ON with a next extent of 100M, then giving the exact same option wouldn't change anything and especially wouldn't help ensuring that the statement completes correctly.
upvoted 3 times
...
...
ama
3 years, 5 months ago
Well, first of all OMF is in use so no Need to specify a path for the new created datafile. Correct answers must be C, D https://oracle-base.com/articles/9i/oracle-managed-files
upvoted 3 times
Fan
2 years, 9 months ago
Oracle Managed Files (OMF) is used, so no need to specify a datafile location.
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