This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
What is the purpose of a workflow in GitHub Actions?
A workflow is a packaged script that automates software development tasks.
A workflow is used to store code and collaborate on pull requests and issues.
A workflow is an automated process that you set up in your GitHub repository to build, test, package, release, or deploy any project.
What is the purpose of a service principal in a Microsoft Entra tenant?
It's used to track usage and billing information for the tenant.
It defines the access policy and permissions for the user or application in the Microsoft Entra tenant.
It provides a unique identifier for each user in the tenant.
A team wants a GitHub-hosted workflow to deploy to Azure without storing a long-lived Azure credential. Which authentication approach should the team use?
Configure a federated identity credential, grant id-token: write, and use Azure Login with the client, tenant, and subscription IDs.
id-token: write
Create a service principal client secret and store the generated JSON as AZURE_CREDENTIALS.
AZURE_CREDENTIALS
Download an App Service publish profile and store it as a repository secret.
A workflow only needs to deploy an application to one Azure App Service web app. Which role assignment follows least-privilege guidance?
Assign the Owner role at subscription scope.
Assign the Contributor role at resource-group scope.
Assign the Website Contributor role at the scope of the specific web app.
You must answer all questions before checking your work.
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?