exam questions

Exam 1z0-1072-20 All Questions

View all questions & answers for the 1z0-1072-20 exam

Exam 1z0-1072-20 topic 1 question 54 discussion

Actual exam question from Oracle's 1z0-1072-20
Question #: 54
Topic #: 1
[All 1z0-1072-20 Questions]

You have multiple applications installed on a compute instance and these applications generate a large amount of log files. These log files must reside on the boot volume for a minimum of 15 days.
Any log files age over 15 days shouldn't be on boot volume but still must be retained for at least 60 days. The 60-day retention requirement is causing an issue with available disk space.
What are two Oracle recommended methods to retain the log files for 60 days without filling up the boot volume? (Choose two.)

  • A. Terminate the instance while preserving the boot volume. Create a new instance from the boot volume and select a DenseIO shape to take advantage of local NVMe storage.
  • B. Resize the boot volume of the instance.
  • C. Create and attach a block volume to the compute instance and copy the log files.
  • D. Create an object storage bucket and use a script that runs daily to move log files older than 15 days to the bucket.
  • E. Write a custom script to remove the log files on a daily basis and free up the space on the boot volume.
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

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
alfonso_223
Highly Voted 4 years, 5 months ago
BD is the correct answer. The Oracle Cloud Infrastructure Block Volume service lets you expand the size of block volumes and boot volumes. You have several options to increase the size of your volumes: Expand an existing volume in place with online resizing. Restore from a volume backup to a larger volume. Clone an existing volume to a new, larger volume. Expand an existing volume in place with offline resizing. https://docs.cloud.oracle.com/en-us/iaas/Content/Block/Tasks/resizingavolume.htm C is not correct, it's too ambiguous and would not be an Oracle recommended best practice for storing the log files.
upvoted 5 times
...
pipolo
Most Recent 3 years, 3 months ago
Any log files age over 15 days shouldn't be on boot volume but still must be retained for at least 60 days. So C,D are the correct choices
upvoted 1 times
...
eacunha
3 years, 9 months ago
B - D, id correct!
upvoted 2 times
...
hals
4 years, 4 months ago
BD is correct. The Oracle Cloud Infrastructure Block Volume service lets you expand the size of block volumes and boot volumes. You have several options to increase the size of your volumes
upvoted 2 times
...
Davar39
4 years, 4 months ago
I take back my answer, I agree with the give answer C,D. Block volumes are persistent and remain even after let's say the instance was deleted. They want to retain the logs for 60 days, so it has to be durable and persistent.
upvoted 2 times
FPM
4 years, 4 months ago
C is not correct. Copying the files is not helping if you are not creating a script to MOVE files older than 15 days. B is the right one (B & D). There is no statement that you cannot go offline to resize and it says that first 15 days should be in boot volume. Copying is not solving (you need to move)
upvoted 2 times
...
...
Davar39
4 years, 4 months ago
I will go with B&D
upvoted 3 times
...
Carminetor
4 years, 5 months ago
Alfonso, you cannot expand an existing volume by online resizing, only offline you can do it!
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 ...