Certbus > Microsoft > Role-based > AZ-400 > AZ-400 Online Practice Questions and Answers

AZ-400 Online Practice Questions and Answers

Questions 4

SIMULATION

You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.

The solution must use the principle of least privilege.

To complete this task, sign in to the Microsoft Azure portal.

Browse 550 Q&As
Questions 5

SIMULATION

You have a web app that connects to an Azure SQL Database named db1.

You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics.

To complete this task, sign in to the Microsoft Azure portal.

Browse 550 Q&As
Questions 6

DRAG DROP

You have an Azure Kubernetes Service (AKSJ pod that hosts an app named App1.

You need to configure the AKS container to restart automatically if the container stops responding. The solution must check the status of App1 once every three seconds.

How should you complete the deployment? To answer, drag the appropriate values to the correct targets. 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:

Browse 550 Q&As
Questions 7

HOTSPOT

You need to create deployment files for an Azure Kubernetes Service (AKS) cluster. The deployments must meet the provisioning storage requirements shown in the following table.

Which resource type should you use for each deployment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Browse 550 Q&As
Questions 8

HOTSPOT

You have an Azure web app named webapp1 that uses the .NET Core runtime stack. You have an Azure Application Insights resource named AppInsights1 that collects telemetry data generated by webapp1.

You plan to deploy webapp1 by using an Azure DevOps pipeline.

You need to modify the sampling rate of the telemetry data processed by AppInsights1 without having to redeploy webapp1 after each modification.

What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Browse 550 Q&As
Questions 9

You are designing the security validation strategy for a project in Azure DevOps. You need to identify package dependencies that have known security issues and can be resolved by an update. What should you use?

A. Octopus Deploy

B. Jenkins

C. Gradle

D. SonarQube

Browse 550 Q&As
Questions 10

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autoscaling.

You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.

You need to ensure that an email alert is generated whenever VMSS1 scales in or out.

Solution: From Azure Monitor, create an action group.

Does this meet the goal?

A. Yes

B. No

Browse 550 Q&As
Questions 11

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements.

You run the Register-AzureRmAutomationDscNode command in your company's environment.

You need to make sure that your company's test servers remain correctly configured, regardless of configuration drift.

Solution: You set the -ConfigurationMode parameter to ApplyAndAutocorrect.

Does the solution meet the goal?

A. Yes

B. No

Browse 550 Q&As
Questions 12

You have an Azure Automation account that contains a runbook. The runbook is used to configure the application infrastructure of an Azure subscription.

You have a project in Azure DevOps named Project1. Project1 contains a repository that stores code for the runbook.

You need to ensure that every committed change to the code will update automatically and publish the runbook to Azure Automation.

What should you configure?

A. the Service hooks settings for Project1

B. the Connections settings for the Automation account

C. the Source control settings for the Automation account

D. the Service connections settings for Project1

Browse 550 Q&As
Questions 13

You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file.

You plan to upgrade App1 to use an Azure service principal.

What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)?

A. the application ID, a client secret, and the object ID

B. a client secret, the object ID, and the tenant ID

C. the application ID, a client secret, and the tenant ID

D. the application ID, a client secret, and the subscription ID

Browse 550 Q&As
Questions 14

Your development team is building a new web solution by using the Microsoft Visual Studio integrated development environment (IDE).

You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically.

Which three actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A. Publish the package to a feed.

B. Create a new feed in Azure Artifacts.

C. Upload a package to a Git repository.

D. Add the package URL to the Environment settings in Visual Studio.

E. Add the package URL to the NuGet Package Manager settings in Visual Studio.

F. Create a Git repository in Azure Repos.

Browse 550 Q&As
Questions 15

You are automating the build process for a Java-based application by using Azure DevOps.

You need to add code coverage testing and publish the outcomes to the pipeline.

What should you use?

A. Cobertura

B. Bullseye Coverage

C. MSTest

D. Coverlet

E. NUnit

F. Coverage.py

Browse 550 Q&As
Questions 16

You are automating the testing process for your company. You need to automate UI testing of a web application. Which framework should you use?

A. JaCoco

B. Selenium

C. Xamarin.UITest

D. Microsoft.CodeAnalysis

Browse 550 Q&As
Questions 17

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

You plan to update the Azure DevOps strategy of your company.

You need to identify the following issues as they occur during the company's development process:

1.

Licensing violations

2.

Prohibited libraries

Solution: You implement automated security testing.

Does this meet the goal?

A. Yes

B. No

Browse 550 Q&As
Questions 18

You have a brand policy in a project in Azure DevOps. The policy requires that code always builds successfully.

You need to ensure that a specific user can always merge change to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.

What should you do?

A. From the Security setting of the repository, modify the access control tor the user.

B. From the Security settings of the branch, modify the access control for the user.

C. Add the user to the Build Administrators group,

D. Add the user to the Project Administrators group

Browse 550 Q&As
Exam Code: AZ-400
Exam Name: Designing and Implementing Microsoft DevOps Solutions
Last Update: Apr 10, 2024
Questions: 550 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99