ExamGecko
Home / Microsoft / AZ-400 / List of questions
Ask Question

Microsoft AZ-400 Practice Test - Questions Answers, Page 28

List of questions

Question 271

Report
Export
Collapse

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

Change the value of the ConfigurationMode parameter.
Change the value of the ConfigurationMode parameter.
Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook
Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook
Add the AllowModuleOverwrite parameter.
Add the AllowModuleOverwrite parameter.
Add the DefaultProfile parameter.
Add the DefaultProfile parameter.
Suggested answer: A

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.

Microsoft AZ-400 image Question 1 explanation 87048 10022024015257000000

References: https://docs.microsoft.com/en-us/powershell/module/azurerm.automation/register-azurermautomationdscnode?view=azurermps-6.13.0

asked 02/10/2024
Kevin Taylor
30 questions

Question 272

Report
Export
Collapse

Which branching strategy should you recommend for the investment planning applications suite?

release isolation
release isolation
main only
main only
development isolation
development isolation
feature isolation
feature isolation
Suggested answer: D

Explanation:

Scenario: A branching strategy that supports developing new functionality in isolation must be used.

Feature isolation is a special derivation of the development isolation, allowing you to branch one or more feature branches from main, as shown, or from your dev branches.

Microsoft AZ-400 image Question 2 explanation 87049 10022024015257000000

When you need to work on a particular feature, it might be a good idea to create a feature branch.

Incorrect Answers:

A: Release isolation introduces one or more release branches from main. The strategy allows concurrent release management, multiple and parallel releases, and codebase snapshots at release time.

B: The Main Only strategy can be folder-based or with the main folder converted to a Branch, to enable additional visibility features. You commit your changes to the main branch and optionally indicate development and release milestones with labels.

C: Development isolation: When you need to maintain and protect a stable main branch, you can branch one or more dev branches from main. It enables isolation and concurrent development. Work can be isolated in development branches by feature, organization, or temporary collaboration.

References:

https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/branching-strategies-with-tfvc?view=azure-devops

asked 02/10/2024
Joshua Paffen
20 questions

Question 273

Report
Export
Collapse

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 pre-deployment approval
a deployment gate
a deployment gate
a post-deployment approval
a post-deployment approval
a trigger
a trigger
Suggested answer: A

Explanation:

When a release is created from a release pipeline that defines approvals, the deployment stops at each point where approval is required until the specified approver grants approval or rejects the release (or re-assigns the approval to another user).

Scenario: Code quality and release quality are critical. During release, deployments must not proceed between stages if any active bugs are logged against the release.

References: https://docs.microsoft.com/en-us/azure/devops/pipelines/release/approvals/approvals

asked 02/10/2024
Saysha Vargas
29 questions

Question 274

Report
Export
Collapse

HOTSPOT

Case Study

This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.

To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other question on this case study.

At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next sections of the exam. After you begin a new section, you cannot return to this section.

To start the case study

To display the first question on this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Application Architecture

The company’s primary application is a single monolithic retirement fund management system based on ASP.NET web forms that use logic written in VB.NET. Some new sections of the application are written in C#.

Variations of the application are created for individual customers. Currently, there are more than 80 live code branches in the application’s code base.

The application was developed by using Microsoft Visual Studio. Source code is stored in Team Foundation Server (TFS) in the main office. The branch offices access the source code by using TFS proxy servers.

Architectural Issues

Litware focuses on writing new code for customers. No resources are provided to refactor or remove existing code. Changes to the code base take a long time, as dependencies are not obvious to individual developers.

Merge operations of the code often take months and involve many developers. Code merging frequently introduces bugs that are difficult to locate and resolve.

Customers report that ownership costs of the retirement fund management system increase continually. The need to merge unrelated code makes even minor code changes expensive.

Customers report that bug reporting is overly complex.

Planned changes

Litware plans to develop a new suite of applications for investment planning. The investment planning applications will require only minor integration with the existing retirement fund management system.

The investment planning applications suite will include one multi-tier web application and two iOS mobile application. One mobile application will be used by employees; the other will be used by customers.

Litware plans to move to a more agile development methodology. Shared code will be extracted into a series of packages.

Litware has started an internal cloud transformation process and plans to use cloud-based services whenever suitable.

Litware wants to become proactive in detecting failures, rather than always waiting for customer bug reports.

Technical requirements

The company’s investment planning applications suite must meet the following requirements:

New incoming connections through the firewall must be minimized.

Members of a group named Developers must be able to install packages.

The principle of least privilege must be used for all permission assignments.

A branching strategy that supports developing new functionality in isolation must be used.

Members of a group named Team Leaders must be able to create new packages and edit the permissions of package feeds. Visual Studio App Center must be used to centralize the reporting of mobile application crashes and device types in use. By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days. Code quality and release quality are critical. During release, deployments must not proceed between stages if any active bugs are logged against the release. The mobile applications must be able to call the share pricing service of the existing retirement fund management system. Until the system is upgraded, the service will only support basic authentication over HTTPS. The required operating system configuration for the test servers changes weekly. Azure Automation State Configuration must be used to ensure that the operating system on each test server is configured the same way when the servers are created and checked periodically.

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.

Microsoft AZ-400 image Question 4 87051 10022024015257000000

How should you configure the release retention policy for the investment planning applications suite? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Microsoft AZ-400 image Question 274 87051 10022024015257000
Correct answer: Microsoft AZ-400 image answer Question 274 87051 10022024015257000

Explanation:

Scenario: By default, all releases must remain available for 30 days, except for production releases, which must be kept for 60 days.

Box 1: Set the default retention policy to 30 days

The Global default retention policy sets the default retention values for all the build pipelines. Authors of build pipelines can override these values.

Box 2: Set the stage retention policy to 60 days

You may want to retain more releases that have been deployed to specific stages.

References: https://docs.microsoft.com/en-us/azure/devops/pipelines/policies/retention

asked 02/10/2024
Bates, Michael
36 questions

Question 275

Report
Export
Collapse

HOTSPOT

Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Microsoft AZ-400 image Question 275 87052 10022024015257000
Correct answer: Microsoft AZ-400 image answer Question 275 87052 10022024015257000

Explanation:

Box 1: A source control system

A source control system, also called a version control system, allows developers to collaborate on code and track changes. Source control is an essential tool for multi-developer projects. Box 2: A hosted service

To build and deploy Xcode apps or Xamarin.iOS projects, you'll need at least one macOS agent. If your pipelines are in Azure Pipelines and a Microsoft-hosted agent meets your needs, you can skip setting up a self-hosted macOS agent.

Scenario: The investment planning applications suite will include one multi-tier web application and two iOS mobile applications. One mobile application will be used by employees; the other will be used by customers.

References:

https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-osx?view=azure-devops

asked 02/10/2024
Carmina Medel
33 questions

Question 276

Report
Export
Collapse

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

From Azure DevOps, modify the build definition.
From Azure DevOps, modify the build definition.
From SonarQube, obtain an authentication token.
From SonarQube, obtain an authentication token.
From Azure DevOps, create a service endpoint.
From Azure DevOps, create a service endpoint.
From SonarQube, create a project.
From SonarQube, create a project.
Suggested answer: C

Explanation:

The first thing to do is to declare your SonarQube server as a service endpoint in your VSTS/DevOps project settings.

Reference: https://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Extension+for+vsts-TFS

asked 02/10/2024
Rahul Biradavolu
41 questions

Question 277

Report
Export
Collapse

You need to implement Project4.

What should you do first?

Add the FROM instruction in the Dockerfile file.
Add the FROM instruction in the Dockerfile file.
Add a Copy and Publish Build Artifacts task to the build pipeline.
Add a Copy and Publish Build Artifacts task to the build pipeline.
Add a Docker task to the build pipeline.
Add a Docker task to the build pipeline.
Add the MAINTAINER instruction in the Dockerfile file.
Add the MAINTAINER instruction in the Dockerfile file.
Suggested answer: C

Explanation:

Scenario: Implement Project4 and configure the project to push Docker images to Azure Container Registry.

Microsoft AZ-400 image Question 2 explanation 86993 10022024015257000000

You use Azure Container Registry Tasks commands to quickly build, push, and run a Docker container image natively within Azure, showing how to offload your "inner-loop" development cycle to the cloud. ACR Tasks is a suite of features within Azure Container Registry to help you manage and modify container images across the container lifecycle.

Reference:

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-quickstart-task-cli

asked 02/10/2024
Keshava Channabyraiah
33 questions

Question 278

Report
Export
Collapse

HOTSPOT

How should you configure the filters for the Project5 trigger? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Hot Area:

Microsoft AZ-400 image Question 3 86994 10022024015257000000

Hot Area:

Answer:

Microsoft AZ-400 image Question 3 86994 10022024015257000000

Microsoft AZ-400 image Question 278 86994 10022024015257000
Correct answer: Microsoft AZ-400 image answer Question 278 86994 10022024015257000

Explanation:

https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/azure-repos-git?view=azure-devops&tabs=classic#ci-triggers

asked 02/10/2024
Carsten Recker
29 questions

Question 279

Report
Export
Collapse

DRAG DROP

You need to recommend a procedure to implement the build agent for Project1.

Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Microsoft AZ-400 image Question 279 86995 10022024015257000
Correct answer: Microsoft AZ-400 image answer Question 279 86995 10022024015257000

Explanation:

Scenario:

Microsoft AZ-400 image Question 4 explanation 86995 10022024015257000000

Step 1: Sign in to Azure Devops by using an account that is assigned the Administrator service connection security role.

Note: Under Agent Phase, click Deploy Service Fabric Application. Click Docker Settings and then click Configure Docker settings. In Registry Credentials Source, select Azure Resource Manager Service Connection. Then select your Azure subscription.

Step 2: Create a personal access token..

A personal access token or PAT is required so that a machine can join the pool created with the Agent Pools (read, manage) scope.

Step 3: Install and register the Azure Pipelines agent on an Azure virtual machine.

By running a Azure Pipeline agent in the cluster, we make it possible to test any service, regardless of type.

References:

https://docs.microsoft.com/en-us/azure/service-fabric/service-fabric-tutorial-deploy-container-app-with-cicd-vsts

https://mohitgoyal.co/2019/01/10/run-azure-devops-private-agents-in-kubernetes-clusters/

asked 02/10/2024
Duane Joyce
33 questions

Question 280

Report
Export
Collapse

DRAG DROP

You need to implement Project6.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Microsoft AZ-400 image Question 280 86996 10022024015257000
Correct answer: Microsoft AZ-400 image answer Question 280 86996 10022024015257000

Explanation:

Scenario: Implement Project3, Project5, Project6, and Project7 based on the planned changes

Microsoft AZ-400 image Question 5 explanation 86996 10022024015257000000

Step 1: Open the release pipeline editor.

In the Releases tab of Azure Pipelines, select your release pipeline and choose Edit to open the pipeline editor.

Step 2: Enable Gates.

Choose the pre-deployment conditions icon for the Production stage to open the conditions panel. Enable gates by using the switch control in the Gates section.

Step 3: Add Query Work items.

Choose + Add and select the Query Work Items gate.

Configure the gate by selecting an existing work item query.

Microsoft AZ-400 image Question 5 explanation 86996 10022024015257000000

Note: A case for release gate is:

Incident and issues management. Ensure the required status for work items, incidents, and issues. For example, ensure deployment occurs only if no priority zero bugs exist, and validation that there are no active incidents takes place after deployment.

References:

https://docs.microsoft.com/en-us/azure/devops/pipelines/release/deploy-using-approvals?view=azure-devops#configure-gate

asked 02/10/2024
DMITRY Yunov
33 questions
Total 489 questions
Go to page: of 49
Search

Related questions