Practice Free AZ-400 Exam Online Questions
You have a pipeline named Pipeline1 in Azure Pipelines.
You need to create a service connection to enable Pipeline1 to download a public container image.
Which type of service connection should you create?
- A . a Docker host
- B . Azure Service Fabric
- C . Azure Kubernetes Service (AKS)
- D . a Docker registry
You have a pipeline named Pipeline1 in Azure Pipelines.
You need to create a service connection to enable Pipeline1 to download a public container image.
Which type of service connection should you create?
- A . a Docker host
- B . Azure Service Fabric
- C . Azure Kubernetes Service (AKS)
- D . a Docker registry
You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines.
You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment.
The solution must meet the following requirements:
• Ensure that there are no active Azure Monitor alerts in the Production-A environment before the app is marked as complete.
• Minimize administrative effort.
What should you do?
- A . To the Production-B environment stage, add a pre-deployment gate that will query Azure Monitor.
- B . To the Production-A environment stage, add a post-deployment gate that will query Azure Monitor.
- C . To the Production-A environment stage, add a post-deployment approval.
- D . To the Production-A environment stage, add a pre-deployment gate that will query Azure Monitor.
You are designing a build and release pipeline.
You need to implement continuous integration and continuous delivery (CI/CD) for the pipeline
Which automated activities should you include in the pipeline?
- A . unit tests, integration tests, and acceptance tests
- B . functional tests, production tests, and production release
- C . functional tests, regression tests, and formal assessments
- D . unit tests, production release, and production deployment
You are designing a YAML template for use with Azure Pipelines. The template Will include the Outputfile parameter.
Which two methods can you use to reference the parameter? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . $(parameters[output file])
- B . ${{parameters.output file}}
- C . $(parameters.output file)
- D . $(parameters[‘output file’])
- E . ${{parameters[‘output file’]}}
DRAG DROP
You have a tendril in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra. The tenant contains three groups named Group1. Group2, and Group3.
You create a new project in Azure DevOps named Project1.
You need to secure the service connections for Project1.
The solution must meet the following requirements:
• The members of Group1 must be able to share and unshare a service connection with other projects.
• The members of Group2 must be able to rename a service connection and update the description.
• The members of Group3 must be able to use the service connection within build or release pipelines.
• The principle of least privilege must be followed.
Which permission should you grant to each group? To answer, drag the appropriate permissions to the correct groups. Each permission may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


DRAG DROP
You have an Azure Pipeline.
You need to store configuration values as variables.
At which four scopes can the variables be defined, and what is the precedence of the variables from the highest precedence to lowest precedence? To answer, move the appropriate scope from the list of scopes to the answer area and arrange them in the correct order.


DRAG DROP
You have an Azure Pipeline.
You need to store configuration values as variables.
At which four scopes can the variables be defined, and what is the precedence of the variables from the highest precedence to lowest precedence? To answer, move the appropriate scope from the list of scopes to the answer area and arrange them in the correct order.


DRAG DROP
You have an Azure Pipeline.
You need to store configuration values as variables.
At which four scopes can the variables be defined, and what is the precedence of the variables from the highest precedence to lowest precedence? To answer, move the appropriate scope from the list of scopes to the answer area and arrange them in the correct order.


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.
- A . Create a Microsoft Intune device compliance policy.
- B . Deploy a certificate from an internal certification authority (CA) to each device.
- C . Register the application in the iTunes store.
- D . Onboard the devices into Microsoft Intune.
- E . Distribute a new release of the application.
- F . Register the IDs of the devices in the Apple Developer portal.
EF
Explanation:
Reference: https://help.apple.com/xcode/mac/current/#/dev7ccaf4d3c
