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.)
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.
I will go with B.
In each region in a tenancy, there's a global image retention policy. The global image retention policy's default selection criteria retain all images, so that no images are automatically deleted.
https://docs.cloud.oracle.com/en-us/iaas/Content/Registry/Tasks/registrymanagingimageretention.htm
Ans: D
Explanation: Use "Exempt Tags" in the "Global Image Retention Policy...if you want to PREVENT images from being deleted".
https://docs.oracle.com/en-us/iaas/Content/Registry/Tasks/registrymanagingimageretention.htm
Most correct answer is B, D seems also to be correct however D is related to repositorie(s) and the question is related to the registry. B is the only option that would ensure across all repositories in the registy
Correct answer D.
If you have manage permission on the tenancy, you can:
modify each region's own global image retention policy
create new custom image retention policies
modify the criteria of existing custom image retention policies
delete custom image retention policies
https://docs.cloud.oracle.com/en-us/iaas/Content/Registry/Tasks/registrymanagingimageretention.htm
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
gfhbox0083
Highly Voted 4 years, 9 months agoIT_Thinker
Most Recent 3 years, 4 months agofk_t_boss
3 years, 5 months agosurendraselokar
3 years, 11 months agofaustosampaio
4 years, 4 months agofirstvishal
4 years, 9 months agojsg
4 years, 9 months agodoedoe90
4 years, 9 months agoadesmaster
4 years, 9 months agoddmoto
4 years, 9 months ago