Go Back on AZ-400 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

AZ-400 Practice Test


Page 9 out of 98 Pages

Topic 4: Mix Questions Set

You have an Azure DevOps organization named Contoso. You need to receive Microsoft Teams notifications when work items are updated. What should you do?


A. From Azure DevOps. configure a service hook subscription.


B. From Microsoft Teams, configure a connector.


C. From Microsoft Teams, add a channel.


D. From Azure DevOps. install an extension.


E. From the Microsoft Teams admin center configure external access.





A.
  From Azure DevOps. configure a service hook subscription.

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





B.
  batch changes

Explanation:
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.

You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1. VMSS1 hosts a web application named
WebApp1. WebApp1 uses state full sessions.
The WebApp1 installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.
You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.
You need to implement limited user testing for the new version of WebApp1 on VMSS1. Which three actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.


A. Modify the load balancer settings of VMSS1.


B. Redeploy VMSS1.


C. Upload a custom script file to sa1.


D. Modify the Custom Script extension settings of VMSS1.


E. Update the configuration of a virtual machine in VMSS1.





B.
  Redeploy VMSS1.

C.
  Upload a custom script file to sa1.

D.
  Modify the Custom Script extension settings of VMSS1.

To resolve the current technical issue, what should you do to the Register- AzureRmAutomationDscNode command?


A. Change the value of the ConfigurationMode parameter.


B. Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook


C. Add the AllowModuleOverwrite parameter.


D. Add the DefaultProfile parameter.





A.
  Change the value of the ConfigurationMode parameter.

Explanation: Change the ConfigurationMode parameter from ApplyOnly to ApplyAndAutocorrect.
The Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an APS Desired State Configuration (DSC) node in an Azure Automation account.
Scenario: Current Technical Issue
The test servers are configured correctly when first deployed, but they experience configuration drift over time. Azure Automation State Configuration fails to correct the configurations.
Azure Automation State Configuration nodes are registered by using the following command.

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 ft. As a result, these questions will not appear in the review screen.

  • You company has a prefect in Azure DevOps for a new web application.
  • You need to ensure that when code is checked in, a build runs automatically.
Solution: From the Triggers tab of the build pipeline, you selected Batch changes while a build is in progress. Does this meet the goal?


A. Yes


B. No





B.
  No


Page 9 out of 98 Pages
Previous