WebMagicInformatica
AZ-104 practice questions

AZ-104 practice questions: Manage Azure identities and governance

6 free questions on Manage Azure identities and governance, 24% of the Azure Administrator Associate (AZ-104) exam. Try each one, then open the answer and explanation. None of them are in the free readiness check, so you can still take it fresh.

Question 1

A user is assigned the Reader role at the subscription scope and the Contributor role at the scope of resource group rg-app. Which statement describes the user's effective permissions?

  1. A.

    The user has read-only access everywhere, because the subscription-scope role overrides lower scopes.

  2. B.

    The user has Contributor access to the whole subscription, because the highest permission wins everywhere.

  3. C.

    The user can create and modify resources in rg-app and has read-only access to everything else in the subscription.

  4. D.

    The user has no access until one of the two assignments is removed.

Show answer and explanation

Answer: C

Azure RBAC role assignments are additive. The user keeps Reader from the subscription and also gets Contributor on rg-app through the more specific assignment.

  • The user has read-only access everywhere, because the subscription-scope role overrides lower scopes.: Roles do not override each other; permissions from all assignments are combined.
  • The user has Contributor access to the whole subscription, because the highest permission wins everywhere.: A role assigned at a resource group applies only to that group and its resources.
  • The user has no access until one of the two assignments is removed.: Overlapping assignments do not conflict; Azure RBAC has no implicit conflict state.
Question 2

Your organization has 12 subscriptions for different departments. You must apply the same Azure Policy assignment and the same Reader role assignment to all of them and to any new subscription that is added later. What should you do?

  1. A.

    Assign the policy and role on each subscription separately.

  2. B.

    Apply a tag to all subscriptions and assign the policy to the tag.

  3. C.

    Place the subscriptions in a management group and make the assignments at the management group scope.

  4. D.

    Create a resource group in each subscription and assign the policy to those groups.

Show answer and explanation

Answer: C

Management groups sit above subscriptions; policy and RBAC assignments made there are inherited by every subscription under the group, including ones added later.

  • Assign the policy and role on each subscription separately.: It works today but must be repeated for every new subscription.
  • Apply a tag to all subscriptions and assign the policy to the tag.: Policy and RBAC cannot be assigned to a tag; tags are only metadata.
  • Create a resource group in each subscription and assign the policy to those groups.: This covers only resources within those groups, not the subscriptions as a whole.
Question 3Choose 2

Which TWO statements about Azure resource tags are correct? (Choose two.)

  1. A.

    Tags applied to a resource group are automatically applied to every resource in it.

  2. B.

    Tags applied to a resource group are not inherited by the resources in it unless you configure inheritance (for example with Azure Policy).

  3. C.

    A resource can have an unlimited number of tags.

  4. D.

    Tags prevent a resource from being deleted.

  5. E.

    Tags can be used to group and filter costs in Cost Management.

Show answer and explanation

Answer: B and E

Tags are metadata. They are not inherited by default (a Modify policy can copy them), and Cost Management can group costs by tag.

  • Tags applied to a resource group are automatically applied to every resource in it.: They are not inherited by default.
  • A resource can have an unlimited number of tags.: There is a limit of 50 tag name-value pairs per resource.
  • Tags prevent a resource from being deleted.: Only resource locks prevent deletion.
Question 4

A user must be able to assign Azure roles to other users in the subscription but must not be able to manage resources themselves. Which built-in role should you assign?

  1. A.

    User Access Administrator

  2. B.

    Contributor

  3. C.

    Reader

  4. D.

    Virtual Machine Contributor

Show answer and explanation

Answer: A

User Access Administrator manages access to Azure resources by creating role assignments, without permission to manage the resources.

  • Contributor: It manages resources but cannot grant access to others.
  • Reader: It is read-only and cannot assign roles.
  • Virtual Machine Contributor: It manages VMs only and cannot assign roles.
Question 5

You move a virtual machine from resource group rg-a to resource group rg-b in the same subscription. Which statement is correct?

  1. A.

    The resource ID changes, and the resource stays in the same location (region).

  2. B.

    The VM is physically moved to the region of rg-b.

  3. C.

    The VM's resource ID stays the same.

  4. D.

    The VM is deleted and recreated.

Show answer and explanation

Answer: A

Moving between resource groups changes the resource ID (it contains the group name) but does not move the resource to a different region.

  • The VM is physically moved to the region of rg-b.: A resource group's location holds metadata only; the VM stays where it is.
  • The VM's resource ID stays the same.: The ID includes the resource group name, so it changes.
  • The VM is deleted and recreated.: A move does not recreate the resource.
Question 6Choose 2

Which TWO statements about Azure management groups are correct? (Choose two.)

  1. A.

    A management group hierarchy supports up to six levels of depth, not including the root level.

  2. B.

    A subscription can be a member of several management groups at the same time.

  3. C.

    A subscription can belong to only one management group at a time.

  4. D.

    Management groups can contain resource groups directly.

  5. E.

    The hierarchy depth is unlimited.

Show answer and explanation

Answer: A and C

A hierarchy supports six levels (excluding root and the subscription level), and each subscription has a single parent management group.

  • A subscription can be a member of several management groups at the same time.: A subscription has one parent.
  • Management groups can contain resource groups directly.: They contain subscriptions and other management groups.
  • The hierarchy depth is unlimited.: There is a six-level limit.

How ready are you for AZ-104?

Take the free readiness check: 15 questions from every exam domain in 20 minutes, with your score per domain.

  • 20 minutes
  • 15 questions
  • Free with an account

More AZ-104 practice by topic

Back to the AZ-104 practice test →

Independent practice material written from the official exam guide. Not affiliated with or endorsed by the exam provider.