Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle 1Z0-1084-25 Exam - Topic 3 Question 22 Discussion

Actual exam question for Oracle's 1Z0-1084-25 exam
Question #: 22
Topic #: 3
[All 1Z0-1084-25 Questions]

You need to push a new Docker container image to a repository in the Oracle Cloud Infrastructure (OCI) Registry. Which mechanism must you use to provide authentication?

Show Suggested Answer Hide Answer
Suggested Answer: D

To push a new Docker container image to a repository in OCI Registry, you need to use an Auth Token to complete the authentication via the Docker CLI1.An Auth Token is a secure, auto-generated password that you can use to authenticate with OCI services such as OCI Registry1.You can generate an Auth Token in the Console by following these steps1:

In the top-right corner of the Console, open the Profile menu and then click User settings to view the details.

On the Auth Tokens page, click Generate Token.

Enter a friendly description for the auth token. Avoid entering confidential information.

Click Generate Token. The new auth token is displayed.

Copy the auth token immediately to a secure location from where you can retrieve it later, because you won't see the auth token again in the Console.

Close the Generate Token dialog. After generating an Auth Token, you need to log in to OCI Registry by entering docker login <region-key>.ocir.io in a terminal window on the client machine running Docker, where <region-key> corresponds to the key for the OCI Registry region you're using1.When prompted for a username, enter your username in the format <tenancy-namespace>/<username>, where <tenancy-namespace> is the auto-generated Object Storage namespace string of your tenancy1.When prompted for a password, enter the Auth Token you copied earlier1.


Contribute your Thoughts:

0/2000 characters
Dwight
20 days ago
I think we might need to use an Auth Token with the Docker CLI, but I'm not entirely sure if that's the right approach.
upvoted 0 times
...

Save Cancel