AZ-104 practice question 1 of 35
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…
Choose your answer, then check it against the explanation and the full breakdown below.
Domain Deploy and manage Azure compute resources
Question breakdown
Key idea: Web Deploy through the Kudu/SCM endpoint can authenticate Microsoft Entra ID (Azure AD) users who hold an RBAC role with write access to the web app, and Website Contributor is the narrowest built-in role that grants this.
How to reach the answer
- The clue 'use their Azure AD credentials' rules out FTPS deployment credentials, which are separate username/password pairs.
- Web Deploy targets the SCM (Kudu) endpoint, which accepts Entra ID tokens for users with suitable RBAC permissions on the site.
- The clue 'principle of least privilege' means picking the narrowest role that can still write site content.
- Owner works but is far broader than needed. Website Contributor manages web apps without granting access management or plan control, so it fits.
Each option
Common trap: 'User-level credentials' sounds like personal identity, but these are standalone deployment credentials and are not Azure AD accounts.
In practice: Teams often turn off basic publishing credentials (SCM/FTP basic auth) for security. They then give developers Website Contributor on specific apps so deployments use Entra ID identities and leave an audit trail.
Remember: Azure AD-based deployment to App Service means granting an RBAC role, and Website Contributor is the least-privilege choice for one web app.
Official documentation: Azure built-in roles · Configure deployment credentials for Azure App Service
Drafted with AI assistance and checked against the answer key.
Keep practicing
Take the free AZ-104 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AZ-104 practice questions
- Question 2Your company has an azure subscription that includes a storage account, a resource group,…
- Question 3You have an Azure Active Directory (Azure AD) tenant named contoso.com. You have a CSV fil…
- Question 5You have an Azure subscription. You plan to deploy an Azure Kubernetes Service (AKS) clus…
- Question 6You have an Azure virtual machine named VM1. VM1 was deployed by using a custom Azure Res…
- Question 7You need to ensure that VM1 can communicate with VM4. The solution must minimize administ…
- Question 9You have an Azure virtual machine named VM1 that runs Windows Server 2016. You need to cr…
