Oracle Cloud Platform Data Integration 2020 Specialist — Question 24
You are building a container image and pushing it to the Oracle Cloud Infrastructure Registry (OCIR). You need to make sure that these images never get deleted from the repository.
Which action should you take? (Choose the best answer.)
Answer options
- A. Create a group and assign a policy to perform lifecycle operations on images.
- B. Set global policy of image retention to "Retain All Images".
- C. In your compartment, write a policy to limit access to the specific repository.
- D. Edit the tenancy global retention policy.
Correct answer: C
Explanation
The correct answer is C because writing a policy to limit access to the specific repository helps prevent unauthorized deletions of images. The other options, while related to image management, do not directly ensure that images will never be deleted from the repository.