1Z0-997 · Question #85
A cloud consultant is working on implementation project on OCI. As part of the compliance requirements, the objects placed in object storage should be automatically archived first and then deleted…
The correct answer is A. All objects with names starting with "doc" will be deleted after 5 days of object creation. Explanation/Reference: 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…
Question
A cloud consultant is working on implementation project on OCI. As part of the compliance requirements, the objects placed in 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:
[ { "name": "Archive_doc", "action": "ARCHIVE", "objectNameFilter": { "inclusionPrefixes": "doc"] }, "timeAmount": 5, "timeunit": "DAYS", "isEnabled": true }, { "name": "Delete_doc", "action": "DELETE", "objectNameFilter": "inclusionPrefixes": [ "doc"] 1."timeAmount": 5, "timeunit": "DAYS", "isEnabled": true } What will happen after this policy is applied?
Options
- AAll objects with names starting with "doc" will be deleted after 5 days of object creation
- BAll the objects having file extension ".doc" will be archived for 5 days and will be deleted 10 days after object creation
- CAll the objects having file extension ".doc" will be archived 5 days after object creation
- DAll the objects with names starting with "doc" will be archived 5 days after object creation and will be deleted 5 days after archival
How the community answered
(53 responses)- A74% (39)
- B4% (2)
- C8% (4)
- D15% (8)
Explanation
Explanation/Reference: 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.
Topics
Community Discussion
No community discussion yet for this question.