nerdexam
Oracle

1Z0-1072 · Question #179

You want an instance in your compartment to make API calls to other services within Oracle Cloud Infrastructure without storing credentials in a configuration file. What do you need to do?

The correct answer is D. Create appropriate matching rules in the Dynamic Group to create an Instance Principal. https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingdynamicgroups.htm

Identity and Access Management (IAM)

Question

You want an instance in your compartment to make API calls to other services within Oracle Cloud Infrastructure without storing credentials in a configuration file. What do you need to do?

Options

  • ANo action is required. By default, all VM instances are created with an Instance Principal.
  • BInstances cannot access services outside their compartment.
  • CVM instances are treated as users. Create a user and assign the user to that VM instance.
  • DCreate appropriate matching rules in the Dynamic Group to create an Instance Principal.

How the community answered

(41 responses)
  • A
    10% (4)
  • B
    5% (2)
  • C
    2% (1)
  • D
    83% (34)

Explanation

https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingdynamicgroups.htm

Topics

#Instance Principal#Dynamic Group#API access#IAM

Community Discussion

No community discussion yet for this question.

Full 1Z0-1072 Practice