Microsoft (AZ-400) Exam Questions And Answers page 36
SIMULATION
You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.
The solution must use the principle of least privilege.
To complete this task, sign in to the Microsoft Azure portal.
You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.
The solution must use the principle of least privilege.
To complete this task, sign in to the Microsoft Azure portal.
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
You are creating a build pipeline in Azure Pipelines.
You define several tests that might fail due to third-party applications.
You need to ensure that the build pipeline completes successfully if the third-party applications are unavailable.
What should you do?
You define several tests that might fail due to third-party applications.
You need to ensure that the build pipeline completes successfully if the third-party applications are unavailable.
What should you do?
Configure flaky tests
Increase the test pass percentage
Add the Requirements quality widget to your dashboard
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
SIMULATION
You have several apps that use an Azure SQL Database named db1.
You need to ensure that queries to db1 are tuned by Azure over time. The solution must only apply to db1.
To complete this task, sign in to the Microsoft Azure portal.
You have several apps that use an Azure SQL Database named db1.
You need to ensure that queries to db1 are tuned by Azure over time. The solution must only apply to db1.
To complete this task, sign in to the Microsoft Azure portal.
Monitor and Optimize
You have an Azure DevOps project that contains a build pipeline. The build pipeline uses approximately 50 open source libraries.
You need to ensure that all the open source libraries comply with your company s licensing standards.
Which service should you use?
You need to ensure that all the open source libraries comply with your company s licensing standards.
Which service should you use?
Ansible
Maven
WhiteSource Bolt
Helm
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
You have a branch policy in a project in Azure DevOps. The policy requires that code always builds successfully.
You need to ensure that a specific user can always merge changes to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.
What should you do?
You need to ensure that a specific user can always merge changes to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.
What should you do?
Add the user to the Build Administrators group.
Add the user to the Project Administrators group.
From the Security settings of the repository, modify the access control for the user.
From the Security settings of the branch, modify the access control for the user.
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
SIMULATION
You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named MAX_ITEMS . The environmental variable must have a value of 50.
To complete this task, sign in to the Microsoft Azure portal.
You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named MAX_ITEMS . The environmental variable must have a value of 50.
To complete this task, sign in to the Microsoft Azure portal.
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
What should you use to implement the code quality restriction on the release pipeline for the investment planning applications suite?
a pre-deployment approval
a deployment gate
a post-deployment approval
a trigger
Implement and Manage
Continuous Integration and Continuous Delivery (CI/CD)
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure DevOps project.
Your build process creates several artifacts.
You need to deploy the artifacts to on-premises servers.
Solution: You deploy an Azure self-hosted agent to an on-premises server. You add a Copy and Publish Build Artifacts task to the deployment pipeline.
Does this meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You have an Azure DevOps project.
Your build process creates several artifacts.
You need to deploy the artifacts to on-premises servers.
Solution: You deploy an Azure self-hosted agent to an on-premises server. You add a Copy and Publish Build Artifacts task to the deployment pipeline.
Does this meet the goal?
Yes
No
Implement and Manage
Monitor and Optimize
You are developing an iOS application by using Azure DevOps.
You need to test the application manually on 10 devices without releasing the application to the public.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
You need to test the application manually on 10 devices without releasing the application to the public.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Create a Microsoft Intune device compliance policy.
Deploy a certificate from an internal certification authority (CA) to each device.
Register the application in the iTunes store.
Onboard the devices into Microsoft Intune.
Distribute a new release of the application.
Register the IDs of the devices in the Apple Developer portal.
Implement and Manage
Monitor and Optimize
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend increasing the code duplication.
Does this meet the goal?
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
The lead developer at your company reports that adding new application features takes longer than expected due to a large accumulated technical debt.
You need to recommend changes to reduce the accumulated technical debt.
Solution: You recommend increasing the code duplication.
Does this meet the goal?
Yes
No
Plan and Design
Implement and Manage
Comments