Exam 1z0-997-22 All QuestionsBrowse all questions from this exam
Question 46

A cloud consultant is working on an implementation project on Oracle Cloud Infrastructure (OCI). As part of the compliance requirements, the objects placed in OCI Object Storage should be automatically archived first and then deleted. He is testing a lifecycle policy on Object Storage and created a policy as below:

What will happen after this policy is applied?

    Correct Answer: D

    The policy specifies two actions for objects with names starting with 'doc': first, these objects will be archived 5 days after creation, as defined by the 'Archive_doc' rule. Second, they will be deleted 5 days after the archival, as defined by the 'Delete_doc' rule. This sequence ensures that the objects are first archived and then deleted after the specified time periods.

Discussion
daws08322Option: D

a Object Lifecycle Management works by defining rules that instruct Object Storage to archive or delete objects on your behalf within a given bucket. A bucket's lifecycle rules are collectively known as an object lifecycle policy. You can use a rule to either archive or delete objects and specify the number of days until the specified action is taken. A rule that deletes an object always takes priority over a rule that would archive that same object.

NotsOption: A

I vote A.