exam questions

Exam 1z0-078 All Questions

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

Exam 1z0-078 topic 1 question 32 discussion

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

You want to create a tablespace, SALES, with these requirements:
1. Its data file has an alias name sales.dbf.
2. Its data file is stored in the directory CURRENT_YR in the disk group DATA.
Examine this command:
SQL> CREATE TABLESPACE sales;
Which two tasks must you perform to meet these requirements? (Choose two.)

  • A. Create the CURRENT_YR directory in the root directory (+).
  • B. Create the CURRENT_YR directory in the +DATA disk group.
  • C. Add the DATAFILE ‘+DATA/CURRENT_YR/sales.dbf’ clause to the command.
  • D. Add the AUTOEXTEND ON clause to the command.
  • E. Add the DATAFILE ‘/CURRENT_YR/sales.dbf’ clause to the command.
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
shaw2000
5 days, 20 hours ago
Selected Answer: BC
You must create the directory inside the ASM disk group: ALTER DISKGROUP DATA ADD DIRECTORY '+DATA/CURRENT_YR'; ASM directories do not exist unless created explicitly. The tablespace creation must specify both the disk group and the alias name: CREATE TABLESPACE sales DATAFILE '+DATA/CURRENT_YR/sales.dbf' SIZE 100M; Without a DATAFILE clause, Oracle stores the file in the default location with a system-generated name.
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 ...