This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You're creating a workflow that should run whenever a pull request is opened or the code on the source branch is updated. Which of the following triggers should you use?
workflow_dispatch
pull_request
push
Which of the following is a benefit of using ephemeral environments within your pull request review process?
You can see how your changes will work when they're deployed.
You can reduce the cost of your Azure resources.
You can see a list of the changes that Azure will make to your environment when you deploy to production.
You're concerned that your workflow's workload identity might accidentally make changes to your production environment. What should you do?
Deploy a dedicated subscription for your ephemeral environments, and grant the workload identity access to that subscription only.
Use Microsoft Cost Management budgets to control access to your production environment.
Deploy resource locks to block the workload identity from making changes to your production environment.
You must answer all questions before checking your work.
Was this page helpful?