Q: 3
You are a DevOps engineer working on a project that requires you to push and pull Docker images to
and from Oracle Cloud Infrastructure Registry (Container Registry) using Docker CLI. You have been
given access to Container Registry and have installed Docker CLI on your local machine.
Which should you create and use to securely authenticate and store your Docker image in a private
Docker registry in OCI?
Options
Discussion
Option A is right, you need an Auth Token when logging into OCI's Container Registry with Docker CLI. The token works like a password for registry access, not your regular OCI password. I've seen similar questions on other Oracle exams too.
Makes sense to pick A here since OCI uses Auth Tokens for Docker CLI logins, not SSH keys or JWTs. Auth Token works like your password for the registry, so that's how you securely push and pull images. Pretty sure it's A, unless Oracle changes their docs. Agree?
I don't think B or C fit here, since OCI specifically uses Auth Tokens for Docker CLI. SSH keys are more for server access, JWTs aren't standard for this. So pretty sure it's A, unless Oracle changed their process.
Its A for sure. OCI Auth Tokens are made for CLI authentication with private registries, you generate it in IAM and use as password when doing
docker login. SSH keys are more for compute access, not registry, and D is unrelated here. Pretty confident unless OCI changed something super recently.Probably A, since that's what the official docs say for Docker CLI with OCI registry. Practice tests cover this too.
My vote is A, since SSH key (C) is just a trap here, that's for host access not image registry.
A tbh
C or B. Seen some practice tests mention SSH keys or JWTs for OCI, but docs lean to Auth Token-worth reviewing Oracle's own guide before sticking to A every time.
I don’t think it’s B. A
A here, pretty sure. OCI Auth Tokens are specifically for authenticating Docker CLI to the Container Registry, you generate them in IAM and use them like a password with
docker login. Haven't seen any docs recommending JWT or SSH for this purpose, correct me if I'm missing something.Be respectful. No spam.