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?
- A: All objects with names starting with "doc" will be deleted after 5 days of object creation
- B: All the objects having file extension ".doc" will be archived for 5 days and will be deleted 10 days after object creation
- C: All the objects having file extension ".doc" will be archived 5 days after object creation
- D: All the objects with names starting with "doc" will be archived 5 days after object creation and will be deleted 5 days after archival