Courseiva
Identity And Access ManagementhardMultiple ChoiceObjective-mapped

1Z0-1072-26 Identity And Access Management Practice Question

Your organization uses Identity Domains. You need to configure a dynamic group matching rule that includes all compute instances launched in a specific compartment whose OCID is 'ocid1.compartment..oc1..aaaa...'. What is the exact syntax for this rule?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

ALL {instance.compartment.id = 'ocid1.compartment..oc1..aaaa...'}

Dynamic groups match compute instances in a compartment using the parameter 'instance.compartment.id'.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • DYNAMIC {compartment.id IN ('ocid1.compartment..oc1..aaaa...')}

    Why it's wrong here

    The DYNAMIC keyword is invalid in OCI matching rules.

  • ALL {instance.compartment.id = 'ocid1.compartment..oc1..aaaa...'}

    Why this is correct

    The correct dynamic group rule syntax for matching a compartment ID is 'instance.compartment.id = <compartment_ocid>' enclosed in ALL or ANY blocks.

  • ANY {resource.compartment = 'ocid1.compartment..oc1..aaaa...'}

    Why it's wrong here

    'resource.compartment' is not a valid variable; 'instance.compartment.id' must be used.

  • MATCH {compartment.ocid == 'ocid1.compartment..oc1..aaaa...'}

    Why it's wrong here

    MATCH and compartment.ocid are invalid syntax for dynamic group matching rules.

About these practice questions

Courseiva writes every 1Z0-1072-26 question from scratch — 521 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written and reviewed by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

Last reviewed August 2026 · checked against the official Oracle exam blueprint

This 1Z0-1072-26 practice question is part of Courseiva's free Oracle certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 1Z0-1072-26 exam.