exam questions

Exam 1z0-1084-20 All Questions

View all questions & answers for the 1z0-1084-20 exam

Exam 1z0-1084-20 topic 1 question 38 discussion

Actual exam question from Oracle's 1z0-1084-20
Question #: 38
Topic #: 1
[All 1z0-1084-20 Questions]

Your organization uses a federated identity provider to login to your Oracle Cloud Infrastructure (OCI) environment. As a developer, you are writing a script to automate some operation and want to use OCI CLI to do that. Your security team doesn't allow storing private keys on local machines.
How can you authenticate with OCI CLI? (Choose the best answer.)

  • A. Run oci setup keys and provide your credentials
  • B. Run oci session refresh """"profile <profile_name>
  • C. Run oci session authenticate and provide your credentials
  • D. Run oci setup oci""cli""rc """"file path/to/target/file
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference:
https://blogs.oracle.com/cloud-infrastructure/enabling-any-federated-user-to-invoke-the-oracle-cloud-infrastructure-sdk-and-cli

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gfhbox0083
Highly Voted 4 years, 10 months ago
C, for sure. Now users don't have to create a key pair and upload it into OCI. Instead you can just run "oci session authenticate" and the CLI will open your browser and push you through a (much) simpler process that basically amounts to just logging in and clicking yes.
upvoted 5 times
...
Jatindra
Most Recent 4 years, 10 months ago
Answer : C
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
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.

SaveCancel
Loading ...