Exam 1z0-1072-23 All QuestionsBrowse all questions from this exam
Question 33

You are using the Oracle Cloud Infrastructure (OCI) Vault service to create and manage Secrets. For your database password, you have created a secret and rotated the secret one time. The secret versions are as follows:

You later realize that you have made a mistake in updating the secret content for version 2 and want to rollback to version 1.

What should you do to rollback to version 1?

    Correct Answer: B

    To rollback to a previous version of a secret in Oracle Cloud Infrastructure (OCI) Vault, you need to promote the previous version to 'current'. In this case, you should select 'Promote to Current' from the version 1 menu in the OCI console. This action will change the status of version 1 to 'current', effectively rolling back the secret to that version.

Discussion
daws08322Option: B

B when you've made a mistake in updating the secret contents or when you've restored a backup of an older resource and need to resume using older secret contents, secret versions can also be marked as 'previous.' A secret version marked as 'previous' was previously a secret version marked as 'current.' To roll back to a previous version, you update the secret to specify the secret version number you want. As long as a secret version hasn't been deleted, you can update the secret to use that past secret version. When you update the secret, the secret version number you choose gets marked as 'current.' This has the same effect as promoting a secret version to 'current.'