Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AZ-104 All Questions

View all questions & answers for the AZ-104 exam

Exam AZ-104 topic 2 question 64 discussion

Actual exam question from Microsoft's AZ-104
Question #: 64
Topic #: 2
[All AZ-104 Questions]

You have an Azure App Services web app named App1.

You plan to deploy App1 by using Web Deploy.

You need to ensure that the developers of App1 can use their Azure AD credentials to deploy content to App1. The solution must use the principle of least privilege.

What should you do?

  • A. Assign the Owner role to the developers
  • B. Configure app-level credentials for FTPS
  • C. Assign the Website Contributor role to the developers
  • D. Configure user-level credentials for FTPS
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Mazinger
Highly Voted 1 year, 8 months ago
Selected Answer: C
C. Assign the Website Contributor role to the developers. To allow the developers of App1 to use their Azure AD credentials to deploy content to App1 using Web Deploy, you should assign the Website Contributor role to the developers. This role provides the necessary permissions for developers to deploy content to the web app, but does not grant them excessive permissions that could be used to make unwanted changes. Option A is not recommended as it would grant excessive permissions to the developers, which could be used to make unwanted changes. Option B and D are not relevant to the scenario as the question is specifically asking for how to use Azure AD credentials for Web Deploy, not FTPS. Option C is a potential solution, but the Website Contributor role provides a more targeted and appropriate level of permissions for the scenario.
upvoted 43 times
lebeyic620
6 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/web-and-mobile#website-contributor
upvoted 1 times
...
...
Muffay
Highly Voted 1 year, 9 months ago
Selected Answer: C
B is wrong because: "To secure app deployment from a local computer, Azure App Service supports two types of credentials for local Git deployment and FTP/S deployment. These credentials are not the same as your Azure subscription credentials." https://learn.microsoft.com/en-us/azure/app-service/deploy-configure-credentials?tabs=cli Correct is C. https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles#website-contributor Microsoft.Resources/deployments/* - Create and manage a deployment
upvoted 30 times
...
SeMo0o0o0o
Most Recent 1 month, 1 week ago
Selected Answer: C
it´s C
upvoted 1 times
...
mojo86
2 months ago
Answer is C: The app-level credentials for FTPS do not allow deployment of content to an Azure App Services web app using Azure AD credentials.
upvoted 1 times
...
azmlan
2 months, 2 weeks ago
Based on the information from the Azure documentation, the best solution is: C. Assign the Website Contributor role to the developers Here's why: The Website Contributor role allows developers to manage websites, but not the underlying web plans. This adheres to the principle of least privilege by granting the minimum permissions needed to deploy the web app. Some key points about the Website Contributor role: It allows creating and managing websites Developers can deploy content to websites they have access to It does not allow managing the App Service plans or assigning roles to others
upvoted 1 times
...
testtaker09
3 months, 4 weeks ago
was in the exam today 17/06/2024
upvoted 3 times
...
edurakhan
4 months, 1 week ago
on exam today 6/6/2024
upvoted 2 times
...
3c5adce
5 months ago
C. Assign the Website Contributor role to the developers This role provides the necessary permissions for developers to deploy content to App1 using Web Deploy, adheres to the principle of least privilege by restricting permissions to what is needed for web deployment, and integrates with Azure AD for authentication.
upvoted 1 times
...
MCLC2021
5 months, 1 week ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/web-and-mobile#website-contributor
upvoted 2 times
MCLC2021
5 months, 1 week ago
"using web deploy" --> It is not using FTP , so B y D incorrect.. "Least privilege" --> Answer A incorrect. C is correct.
upvoted 4 times
...
...
smirnoffpremium
7 months, 1 week ago
Passed AZ-104 today 03/07/24 879%. 99% of Examtopics questions in my test with exact same wording. This question was on the test, I answered C. Very Thanks to Examtopics.
upvoted 6 times
Seppl
7 months ago
good to hear, did you learn with the free version or did you buy all questions?
upvoted 2 times
...
...
LinuxLewis
7 months, 1 week ago
I dont think it is C, as the role says: { "assignableScopes": [ "/" ], "description": "Lets you manage websites (not web plans), but not access to them.", "id": "/providers/Microsoft.Authorization/roleDefinitions/de139f84-1756-47ae-9be6-808fbbe84772", "name": "de139f84-1756-47ae-9be6-808fbbe84772", part of question is to ensure devs can use creds, so I think this is related to that. also dont see in JSON the append or modify action.
upvoted 1 times
lebeyic620
6 months, 2 weeks ago
https://learn.microsoft.com/en-us/azure/role-based-access-control/built-in-roles/web-and-mobile#website-contributor Role has: Microsoft.Resources/deployments/* Create and manage a deployment
upvoted 1 times
...
...
bacana
7 months, 2 weeks ago
I beleve B is correct. https://learn.microsoft.com/en-us/azure/app-service/deploy-ftp?tabs=portal
upvoted 1 times
...
Amir1909
7 months, 3 weeks ago
C is correct
upvoted 1 times
...
stanislaus450
8 months ago
Selected Answer: C
The correct answer is: C. Assign the Website Contributor role to the developers. Explanation: Assigning the Website Contributor role to the developers would grant them the necessary permissions to deploy content to the Azure App Services web app (App1) without giving them excessive privileges. This role provides the necessary permissions for managing the website, including deployment, without granting ownership or administrative rights, thus adhering to the principle of least privilege.
upvoted 2 times
...
adilkhan
8 months, 3 weeks ago
100% C is correct
upvoted 1 times
...
Wojer
8 months, 4 weeks ago
Selected Answer: C
https://learn.microsoft.com/en-us/azure/app-service/deploy-configure-credentials?tabs=cli from what I see you need to be a contributor anyway for app-level (FTPS) and question is saying least possible access, so contributor anyway, this is how I understand
upvoted 1 times
...
rreghioua
9 months, 1 week ago
Selected Answer: C The solution must use the principle of least privilege. Website Contributor role with the exact permission: Microsoft.Resources/deployments/* => Create and manage a deployment
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...