New Year Sale ! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-1067 Topic 4 Question 20 Discussion

Actual exam question for Oracle's 1Z0-1067 exam
Question #: 20
Topic #: 4
[All 1Z0-1067 Questions]

Your application is using Object Storage bucket named app-data In the namespace vision, to store both persistent and temporary date. Every week all the temporary data should be deleted to limit the storage consumption.

Currently you need to navigate to the Object Storage page using the web console, select the appropriate bucket to view all the objects and delete the temporary ones.

To simplify the task you have configured the application to save all the temporary data with /temp prefix. You have also decided to use the Command Line Interface (CLI) to perform this operation.

What is the command you should use to speed up the data cleanup?

A)

B)

C)

D)

Show Suggested Answer Hide Answer
Suggested Answer: D

bulk-delete : Deletes all objects in a bucket which match the provided criteria.

delete : Deletes an object.

# Delete all the objects.

oci os object bulk-delete -ns mynamespace -bn mybucket

# Delete objects that match the specified prefix.

oci os object bulk-delete -ns mynamespace -bn mybucket --prefix myprefix

By default, the bulk-delete command will prompt you prior to deleting objects. To suppress this prompt, pass the --force option.


Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77