100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED ANSWERS UPDATED 2023/A+ GRADE GUARANTEED $7.99   Add to cart

Exam (elaborations)

AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED ANSWERS UPDATED 2023/A+ GRADE GUARANTEED

 0 view  0 purchase
  • Course
  • Institution

AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED ANSWERS UPDATED 2023/A+ GRADE GUARANTEED AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED ANSWERS UPDATED 2023/A+ GRADE GUARANTEED AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED ANSWERS UPDATED 2023/A+ GRADE GUARANTEED

Preview 3 out of 26  pages

  • March 12, 2024
  • 26
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED
ANSWERS UPDATED 2023/A+ GRADE GUARANTEED
You have an Azure subscription.



From PowerShell, you run the Get-MgUser cmdlet for a user and receive the
following details:



Id: 8755b347-3545-3876-3987-999999999999

DisplayName: Ben Smith

Mail: bsmith@contoso.com

UserPrincipalName: bsmith_contoso.com#EXT#@fabrikam.com



Which statement accurately describes the user? - ✔Answer- The user was a guest
in the tenant.



Question 2 of 50

You have the following resource groups, management groups, and Azure
subscriptions:



Two resource groups named RG1 and RG2 that are associated with a subscription
named 111-222-333 and a management group named MG1.



Two resource groups named RG3 and RG4 that are associated with a subscription
named 777-888-999 and a management group named MG1.

, AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED
ANSWERS UPDATED 2023/A+ GRADE GUARANTEED
Two resource groups named RG5 and RG6 that are associated with a subscription
named 444-555-666 and a management group named MG1



Two resource group named RG10 and RG11 that are associated with a subscription
named 222-333-444 and a management group named MG2



Two resource group named RG11 and RG12 that are associated with a subscription
named 555-666-888 and a management group named MG2



You need to assign a role to a user to ensure the user can view all the resources in
the subscriptions. The solution must use the principle of least privilege.



Which role sh - ✔Answer- the Reader role for MG1 and MG2



(Assigning the Reader role for MG1 and MG2 is correct because the simplest way
to give user access to all resources is to assign a role at the management group
level.)



You have an Azure subscription. An administrator manages access to resources at
the resource group level. The assignment process is automated by running the
following PowerShell script nightly.



$rg = "RG1"

$RoleName = "CustomRole1"

$Role = Get-AzRoleDefinition -Name $RoleName

, AZ 104 EXAM PREP QUESTIONS WITH 100% VERIFIED
ANSWERS UPDATED 2023/A+ GRADE GUARANTEED
New-AzRoleAssignment -SignInName user1@contoso.com `

-RoleDefinitionName $Role.Name `

-ResourceGroupName $rg

User1 is unable to access the RG1 resource group. You discover that the script fails
to complete for new users.

You run Get-AzRoleDefinition | Format-Table -Property Name, Id and receive the
following information:

Name: Custom Role 1, ID: 111-222-333

Name: Owner, ID: 222-333-444

Name: Contributor, ID: 333-444-555

Name: Reader, ID: 666-777-888



You need to modify the script to ensure that it does not fail in the future.

What should you change in the script? - ✔Answer- $RoleName = "111-222-333"



(You should use the ID of the role in case the role name was changed to prevent
such a change from breaking the script.

Assign Azure roles using Azure PowerShell - Azure RBAC)



You have an Azure subscription that contains multiple virtual machines.

You need to ensure that a user named User1 can view all the resources in a
resource group named RG1. You must use the principle of least privilege. Which
role should you assign to User1? - ✔Answer- Reader

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Joealvin. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $7.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79400 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$7.99
  • (0)
  Add to cart