100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

AZ 104 RENEWAL EXAM QUESTION AND ANSWER UPDATED 2025

Rating
-
Sold
-
Pages
19
Grade
A+
Uploaded on
24-01-2025
Written in
2024/2025

AZ 104 RENEWAL EXAM QUESTION AND ANSWER UPDATED 2025 1. - AnswerYou plan to deploy an Azure web app that will have the following settings • - AnswerName: WebApp1 • - AnswerPublish: Docker container • - AnswerOperating system: Windows • - AnswerRegion: West US • - AnswerWindows Plan (West US): ASP-RG1-8bcf You need to ensure that WebApp1 uses the ASP.NET v4.7 runtime stack. Which setting should you modify? - Answer Select only one answer - Answer a) - AnswerRegion b) - AnswerOperating system c) - AnswerPublish d) - AnswerWindows Plan 2. - AnswerYou have the following Azure resources: • - AnswerAzure Key Vault named KeyVault1 • - AnswerAzure App Service named WebApp1 You need to ensure that WebApp1 can access KeyVault1 by using Azure Active Directory(Azure AD) authentication. - Answer Which two settings can be used to configure WebApp1? Each correct answer presents a complete solution. - Answer Select all answers that apply. - Answer

Show more Read less
Institution
AZ 104
Course
AZ 104










Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
AZ 104
Course
AZ 104

Document information

Uploaded on
January 24, 2025
Number of pages
19
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

©THESTAR 2024/2025 ALL RIGHTS RESERVED.



AZ 104 Exam Prep Questions And Answers
100% Guaranteed Pass


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:
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.


Two resource groups named RG5 and RG6 that are associated with a subscription named 444-
555-666 and a management group named MG1



1|Page

, ©THESTAR 2024/2025 ALL RIGHTS RESERVED.

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
New-AzRoleAssignment -SignInName `
-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

2|Page

, ©THESTAR 2024/2025 ALL RIGHTS RESERVED.

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 Reader role allows you to view all the resources but does not allow you to make any
changes. The Contributor role allows you to manage all the resources, the Billing Reader role
provides read access only to billing data, and the Tag Contributor role allows you to manage
entity tags without providing access to the entities themselves.)
You have an Azure subscription that contains several storage accounts.
You need to provide a user with the ability to perform the following tasks


- Manage containers within the storage accounts.
- View storage account access keys.


The solution must use the principle of least privilege. Which role should you assign to the user?
- Answer✔Storage Account Contributor


(Storage Account Contributor allows the management of storage accounts. It provides access to
the account key, which can be used to access data via Shared Key authorization. Storage Blob
Data Contributor grants permissions to read, write, and delete Azure Storage containers and
blobs. Reader allows you to view all resources but does not allow you to make any changes.
Owner grants full access to manage all resources, including the ability to assign roles in Azure
RBAC.)

3|Page

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TheStar Florida State University
View profile
Follow You need to be logged in order to follow users or courses
Sold
592
Member since
1 year
Number of followers
178
Documents
23586
Last sold
1 day ago
Stuvia Prodigy

Tested, Verified and Updated Study Materials with 100% Guaranteed Success.

3.8

119 reviews

5
56
4
21
3
21
2
4
1
17

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions