Win IT Exam with Last Dumps 2025


Microsoft AZ-400 Exam

Page 48/54
Viewing Questions 471 480 out of 535 Questions
88.89%

Question 471
Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.
You plan to use Azure DevOps to manage the build and release processes.
Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. a deployment group
B. a Microsoft-hosted agent
C. service hooks
D. a self-hosted agent
E. an External Git service connection
E: GitLab CI/CD can be used with GitHub or any other Git server such as BitBucket. Instead of moving your entire project to GitLab, you can connect your external repository to get the benefits of GitLab CI/CD.
Note: When a pipeline uses a remote, 3rd-party repository host such as Bitbucket Cloud, the repository is configured with webhooks that notify Azure Pipelines
Server or TFS when code has changed and a build should be triggered. Since on-premises installations are normally protected behind a firewall, 3rd-party webhooks are unable to reach the on-premises server. As a workaround, you can use the External Git repository type which uses polling instead of webhooks to trigger a build when code has changed.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/pipeline-options-for-git

Question 472
SIMULATION -
You plan to deploy a website that will be hosted in two Azure regions.
You need to create an Azure Traffic Manager profile named az40011566895n1-tm in a resource group named RG1lod11566895. The solution must ensure that users will always connect to a copy of the website that is in the same country.
To complete this task, sign in to the Microsoft Azure portal.
1. Go to the Azure portal, navigate to Traffic Manager profiles and click on the Add button to create a routing profile.
AZ-400_472E_1.jpg related to the Microsoft AZ-400 Exam
2, In the Create Traffic Manager profile, enter, or select these settings:
Name: az40011566895n1-tm -
Routing method: Geographic -
Resource group: RG1lod11566895 -
AZ-400_472E_2.jpg related to the Microsoft AZ-400 Exam
Note: Traffic Manager profiles can be configured to use the Geographic routing method so that users are directed to specific endpoints (Azure, External or Nested) based on which geographic location their DNS query originates from. This empowers Traffic Manager customers to enable scenarios where knowing a user's geographic region and routing them based on that is important.
Reference:
https://azure.microsoft.com/en-us/blog/announcing-the-general-availability-of-geographic-routing-capability-in-azure-traffic-manager/

Question 473
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.
Hot Area:
AZ-400_473Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_473R.png related to the Microsoft AZ-400 Exam
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

Question 474
Your company has a multi-tier application. The application is configured to have an Azure Web Apps front end, with an Azure SQL Database back end.
You are designing a strategy for capturing and storing telemetry data. Your strategy should allow for baselines to be pinpointed via ad-hoc queries. Also, alerts must be triggered once baseline metrics are surpassed. Furthermore, application and database metrics must be stored centrally.
Which of the following should be part of your strategy?
A. Azure Advisor
B. Azure Security Center
C. Azure Application Insights
D. Azure Log Analytics
Azure Platform as a Service (PaaS) resources, like Azure SQL and Web Sites (Web Apps), can emit performance metrics data natively to Log Analytics.
The Premium plan will retain up to 12 months of data, giving you an excellent baseline ability.
There are two options available in the Azure portal for analyzing data stored in Log analytics and for creating queries for ad hoc analysis.
Incorrect Answers:
B: Intelligent Insights analyzes database performance by comparing the database workload from the last hour with the past seven-day baseline workload.
However, we need handle application metrics as well.
References:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/collect-azurepass-posh

Question 475
You have a project in Azure DevOps.
You plan to deploy a self-hosted agent by using an unattended configuration script.
Which two values should you define in the configuration script? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. authorization credentials
B. the project name
C. the deployment group name
D. the organization URL
E. the agent pool name
Unattended config:
The agent can be set up from a script with no human intervention. You must pass --unattended and the answers to all questions.
To configure an agent, it must know the URL to your organization or collection and credentials of someone authorized to set up agents. All other responses are optional.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows


Question 476
HOTSPOT -
You are using PowerShell to administer Azure Log Analytics workspaces.
You need to list the available workspaces and their properties.
How should you complete the command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Hot Area:
AZ-400_476Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_476R.png related to the Microsoft AZ-400 Exam
Box 1: Get-AzResource -
Use the following command to examine the access control mode for all workspaces in the subscription:
PowerShell -
Get-AzResource -ResourceType Microsoft.OperationalInsights/workspaces -ExpandProperties | foreach {$_.Name + ": " +
$_.Properties.features.enableLogAccessUsingOnlyResourcePermissions
Box 2: -ResourceType -
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/logs/manage-access

Question 477
You have Azure Pipelines and GitHub integrated as a source code repository.
The build pipeline has continuous integration enabled.
You plan to trigger an automated build whenever code changes are committed to the repository.
You need to ensure that the system will wait until a build completes before queuing another build.
What should you implement?
A. path filters
B. batch changes
C. scheduled builds
D. branch filters
Batching CI runs -
If you have many team members uploading changes often, you may want to reduce the number of runs you start. If you set batch to true, when a pipeline is running, the system waits until the run is completed, then starts another run with all changes that have not yet been built.
Example:
# specific branch build with batching
trigger:
batch: true
branches:
include:
- master
To clarify this example, let us say that a push A to master caused the above pipeline to run. While that pipeline is running, additional pushes B and C occur into the repository. These updates do not start new independent runs immediately. But after the first run is completed, all pushes until that point of time are batched together and a new run is started.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/github

Question 478
You are using GitHub as a source code repository.
You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag.
You need to make a commit that does not have a work item tag.
Which git commit parameter should you use?
A. --squash
B. --no-verify
C. --message ''
D. --no-post-rewrite
The commit-msg hook is invoked by git-commit and git-merge, and can be bypassed with the --no-verify option.
Reference:
https://git-scm.com/docs/githooks

Question 479
You have a private distribution group that contains provisioned and unprovisioned devices.
You need to distribute a new iOS application to the distribution group by using Microsoft Visual Studio App Center.
What should you do?
A. Select Register devices and sign my app.
B. Create an active subscription in App Center Test.
C. Add the device owner to the organization in App Center.
D. Create an unsigned build.
Distribute a new release.
When you distribute a new release to a group that doesn't have automatic device management enabled, a Devices step is part of the wizard. The step checks if you have unprovisioned devices in the distribution group; if this happens, you can check the Register devices and re-sign app checkbox. App Center then runs three operations for you:
1. Register new device IDs in the Apple Developer portal.
2. Add the devices to the provisioning profile and download it.
3. Re-sign the uploaded binary so that all testers can install it.
Reference:
https://docs.microsoft.com/en-us/appcenter/distribution/auto-provisioning

Question 480
DRAG DROP -
You need to deploy Internet Information Services (IIS) to an Azure virtual machine that runs Windows Server 2019.
How should you complete the Desired State Configuration (DSC) configuration script? To answer, drag the appropriate values to the correct locations. Each value 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.
Select and Place:
AZ-400_480Q.png related to the Microsoft AZ-400 Exam
Image AZ-400_480R.png related to the Microsoft AZ-400 Exam
Box 1: Configuration -
Configuration Example:
Configuration Sample -
{
Node localhost, server02 -
{
Box 2: WindowsFeature -
Example:
WindowsFeature RoleExample -
{
Ensure = "Present"
# Alternatively, to ensure the role is uninstalled, set Ensure to "Absent"
Name = "Web-Server" # Use the Name property from Get-WindowsFeature
}
The WindowsFeature resource in Windows PowerShell Desired State Configuration (DSC) provides a mechanism to ensure that roles and features are added or removed on a target node.
Reference:
https://docs.microsoft.com/en-us/powershell/dsc/reference/resources/windows/windowsfeatureresource
https://docs.microsoft.com/en-us/powershell/dsc/managing-nodes/apply-get-test