Practice Free AZ-400 Exam Online Questions
HOTSPOT
Your company uses Git as a source code control system for a complex app named App1.
You plan to add a new functionality to App1.
You need to design a branching model for the new functionality.
Which branch lifetime and branch time should you use in the branching model? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Explanation:
Branch lifetime: Short-lived
Branch type: Feature
Feature branches are used when developing a new feature or enhancement which has the potential of a development lifespan longer than a single deployment. When starting development, the deployment in which this feature will be released may not be known. No matter when the feature branch will be finished, it will always be merged back into the master branch.
Reference: https://gist.github.com/digitaljhelms/4287848
Your company plans to use an agile approach to software development
You need to recommend an application to provide communication between members of the development team who work in locations around the world.
The application must meet the following requirements:
• Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
• Be available on Windows 10, Mac OS, iOS, and Android operating systems.
• Provide the ability to add external contractors and suppliers to projects.
• Integrate directly with Azure DevOps.
What should you recommend?
- A . Octopus
- B . Bamboo
- C . Microsoft Project
- D . Slack
D
Explanation:
Slack is a popular team collaboration service that helps teams be more productive by keeping all communications in one place and easily searchable from virtually anywhere. All your messages, your files, and everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully native apps for iOS and Android to give you the full functionality of Slack wherever you go.
Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this integration, code check-ins, pull requests, work item updates, and build events show up directly in your team’s Slack channel.
Note: Microsoft Teams would also be a correct answer, but it is not an option here.
Reference: https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-slack
Your company plans to use an agile approach to software development
You need to recommend an application to provide communication between members of the development team who work in locations around the world.
The application must meet the following requirements:
• Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
• Be available on Windows 10, Mac OS, iOS, and Android operating systems.
• Provide the ability to add external contractors and suppliers to projects.
• Integrate directly with Azure DevOps.
What should you recommend?
- A . Octopus
- B . Bamboo
- C . Microsoft Project
- D . Slack
D
Explanation:
Slack is a popular team collaboration service that helps teams be more productive by keeping all communications in one place and easily searchable from virtually anywhere. All your messages, your files, and everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully native apps for iOS and Android to give you the full functionality of Slack wherever you go.
Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this integration, code check-ins, pull requests, work item updates, and build events show up directly in your team’s Slack channel.
Note: Microsoft Teams would also be a correct answer, but it is not an option here.
Reference: https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-slack
Your company plans to use an agile approach to software development
You need to recommend an application to provide communication between members of the development team who work in locations around the world.
The application must meet the following requirements:
• Provide the ability to isolate the members of efferent project teams into separate communication channels and to keep a history of the chats within those channels.
• Be available on Windows 10, Mac OS, iOS, and Android operating systems.
• Provide the ability to add external contractors and suppliers to projects.
• Integrate directly with Azure DevOps.
What should you recommend?
- A . Octopus
- B . Bamboo
- C . Microsoft Project
- D . Slack
D
Explanation:
Slack is a popular team collaboration service that helps teams be more productive by keeping all communications in one place and easily searchable from virtually anywhere. All your messages, your files, and everything from Twitter, Dropbox, Google Docs, Azure DevOps, and more all together. Slack also has fully native apps for iOS and Android to give you the full functionality of Slack wherever you go.
Integrated with Azure DevOps
This integration keeps your team informed of activity happening in its Azure DevOps projects. With this integration, code check-ins, pull requests, work item updates, and build events show up directly in your team’s Slack channel.
Note: Microsoft Teams would also be a correct answer, but it is not an option here.
Reference: https://marketplace.visualstudio.com/items?itemName=ms-vsts.vss-services-slack
You use GitHub for source control.
A file that contains sensitive data is committed accidentally to the Get repository of a project.
You need to delete the file and its history form the repository.
Which two tools can you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . the git filter-branch command
- B . BFG Repo-Cleaner
- C . the git rebase command
- D . GitHub Desktop
A, B
Explanation:
To entirely remove unwanted files from a repository’s history you can use either the git filter-branch command or the BFG Repo-Cleaner open source tool.
Reference: https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository
You need to meet the technical requirements for controlling access to Azure DevOps.
What should you use?
- A . Azure Multi-Factor Authentication (MFA)
- B . on-premises firewall rules
- C . conditional access policies in Azure AD
- D . Azure role-based access control (Azure RBAC)
B
Explanation:
Scenario: Access to Azure DevOps must be restricted to specific IP addresses.
Azure DevOps is authenticated through Azure Active Directory. You can use Azure AD’s conditional access to prevent logins from certain geographies and address ranges.
Reference: https://www.rebeladmin.com/2018/08/step-step-guide-configure-location-based-conditional-access-policies/
You need to meet the technical requirements for controlling access to Azure DevOps.
What should you use?
- A . Azure Multi-Factor Authentication (MFA)
- B . on-premises firewall rules
- C . conditional access policies in Azure AD
- D . Azure role-based access control (Azure RBAC)
B
Explanation:
Scenario: Access to Azure DevOps must be restricted to specific IP addresses.
Azure DevOps is authenticated through Azure Active Directory. You can use Azure AD’s conditional access to prevent logins from certain geographies and address ranges.
Reference: https://www.rebeladmin.com/2018/08/step-step-guide-configure-location-based-conditional-access-policies/
You have an application that consists of several Azure App Service web apps and Azure functions. You need to assess the security of the web apps and the functions.
Which Azure feature can you use to provide a recommendation for the security of the application?
- A . Smart Detection in Azure Application Insights
- B . Security & Compliance in Azure Log Analytics
- C . Compute & apps in Microsoft Defender for Cloud
- D . Resource health in Azure Service Health
Your company creates a web application.
You need to recommend a solution that automatically sends to Microsoft Teams a dairy summary of the exceptions that occur m the application.
Which two Azure services should you recommend? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Microsoft Visual Studio App Center
- B . Azure DevOps Project
- C . Azure Logic Apps
- D . Azure Pipelines
- E . Azure Application Insights
CE
Explanation:
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-exceptions
https://docs.microsoft.com/en-us/azure/azure-monitor/app/automate-custom-reports
You create an alert rule in Azure Monitor as shown in the following exhibit.

Which action will trigger an alert?
- A . a failed attempt to delete the ASP-9bb7 resource
- B . a change to a role assignment for the ASP-9bb7 resource
- C . a successful attempt to delete the ASP-9bb7 resource
- D . a failed attempt to scale up the ASP-9bb7 resource
