Exam2pass
0 items Sign In or Register
  • Home
  • IT Exams
  • Guarantee
  • FAQs
  • Reviews
  • Contact Us
  • Demo
Exam2pass > Microsoft > Microsoft Certifications > AZ-400 > AZ-400 Online Practice Questions and Answers

AZ-400 Online Practice Questions and Answers

Questions 4

HOTSPOT

You have an Azure Kubernetes Service (AKS) pod.

You need to configure a probe to perform the following actions:

1.

Confirm that the pod is responding to service requests.

2.

Check the status of the pod four times a minute.

3.

Initiate a shutdown if the pod is unresponsive.

How should you complete the YAML configuration file? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Buy Now

Correct Answer:

Box 1: readinessProbe:

For containerized applications that serve traffic, you might want to verify that your container is ready to handle incoming requests. Azure Container Instances supports readiness probes to include configurations so that your container can't be

accessed under certain conditions.

Incorrect Answers:

livenessProbe: Containerized applications may run for extended periods of time, resulting in broken states that may need to be repaired by restarting the container. Azure Container Instances supports liveness probes so that you can

configure your containers within your container group to restart if critical functionality is not working.

Box 2: periodSeconds: 15

The periodSeconds property designates the readiness command should execute every 15 seconds.

Reference:

https://docs.microsoft.com/en-us/azure/container-instances/container-instances-readiness-probe

Questions 5

DRAG DROP

You have an Azure Kubernetes Service (AKS) implementation that is RBAC-enabled.

You plan to use Azure Container Instances as a hosted development environment to run containers in the AKS implementation.

You need to configure Azure Container Instances as a hosted environment for running the containers in AKS.

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.

Select and Place:

Buy Now

Correct Answer:

Step 1: Create a YAML file.

If your AKS cluster is RBAC-enabled, you must create a service account and role binding for use with Tiller. To create a service account and role binding, create a file named rbac-virtual-kubelet.yaml

Step 2: Run kubectl apply.

Apply the service account and binding with kubectl apply and specify your rbac-virtual-kubelet.yaml file.

Step 3: Run helm init.

Configure Helm to use the tiller service account:

helm init --service-account tiller

You can now continue to installing the Virtual Kubelet into your AKS cluster.

References: https://docs.microsoft.com/en-us/azure/aks/virtual-kubelet

Questions 6

SIMULATION

You plane to store signed images in an Azure Container Registry instance named az4009940427acr1.

You need to modify the SKU for az4009940427acr1 to support the planned images. The solution must minimize costs.

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

Buy Now

Correct Answer: See solution below.

1.

Open Microsoft Azure Portal, and select the Azure Container Registry instance named az4009940427acr1.

2.

Under Policies, select Content Trust > Enabled > Save.

References: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-content-trust

Questions 7

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)

Buy Now

Correct Answer: C

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-conditionalaccess-policies/

Questions 8

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 have an Azure DevOps project.

Your build process creates several artifacts.

You need to deploy the artifacts to on-premises servers.

Solution: You deploy an Azure self-hosted agent to an on-premises server. You add a Copy and Publish Build Artifacts task to the deployment pipeline.

Does this meet the goal?

A. Yes

B. No

Buy Now

Correct Answer: A

To build your code or deploy your software using Azure Pipelines, you need at least one agent.

If your on-premises environments do not have connectivity to a Microsoft-hosted agent pool (which is typically the case due to intermediate firewalls), you'll need to manually configure a self-hosted agent on on-premises computer(s). The agents must have connectivity to the target on-premises environments, and access to the Internet to connect to Azure Pipelines or Team Foundation Server.

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

Questions 9

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 integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.

You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.

Solution: You create an email subscription to an Azure DevOps notification.

Does this meet the goal?

A. Yes

B. No

Buy Now

Correct Answer: B

You can create a service hook for Azure DevOps Services and TFS with Jenkins.

References: https://docs.microsoft.com/en-us/azure/devops/service-hooks/services/jenkins

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, configure the autoscale settings.

Does this meet the goal?

A. Yes

B. No

Buy Now

Correct Answer: B

Instead create an action group.

Note: An action group is a collection of notification preferences defined by the owner of an Azure subscription. Azure Monitor, Service Health and Azure Advisor alerts use action groups to notify users that an alert has been triggered.

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/alerts/action-groups

Questions 11

You build an iOS app.

You receive crash reports from Crashlytics.

You need to capture the following data:

Crash-free users

Custom events

Breadcrumbs

What should you do?

A. Configure the xcworkspace file in the project

B. Add the GoogleAnalytics pod to the app.

C. Configure the Crashlytics pod in the app.

D. Import the Firebase module to UIApplicationDelegate.

Buy Now

Correct Answer: D

Explanation:

Step 1: Add the Firebase Crashlytics SDK to your app.

Configure the Firebase module:

Import the Firebase module in your App struct or UIApplicationDelegate

Reference: https://firebase.google.com/docs/crashlytics/get-started?platform=ios

Questions 12

You manage source code control and versioning by using GitHub.

You need to ensure that a PowerShell script is executed automatically before rebase operations are performed.

What should you use?

A. a package

B. GitHub Copilot

C. a webhook

D. a gist

Buy Now

Correct Answer: C

Questions 13

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. Playwright

C. Xamarin.UITest

D. Microsoft.CodeAnalysis

Buy Now

Correct Answer: B

Playwright enables reliable end-to-end testing for modern web apps.

Any browser • Any platform • One API

Cross-browser. Playwright supports all modern rendering engines including Chromium, WebKit, and Firefox.

Cross-platform. Test on Windows, Linux, and macOS, locally or on CI, headless or headed.

Cross-language. Use the Playwright API in TypeScript, JavaScript, Python, .NET, Java.

Test Mobile Web. Native mobile emulation of Google Chrome for Android and Mobile Safari. The same rendering engine works on your Desktop and in the Cloud.

Incorrect:

*

JaCoCo

JaCoCo is an open-source toolkit for measuring code coverage in a code base and reporting it via visual reports. It is quite popular among a variety of code coverage frameworks. It measures line and branch coverage based on the code

covered by the running unit test cases and provides a visual report, including the highlighted lines of code and the total percentage of code executed in each method. From this analysis, the developer can assess code that has not been

adequately tested. It's best to focus on areas where coverage is particularly low and try to analyze why this code hasn't been thoroughly tested.

*

Xamarin. UITest

Xamarin. UITest is the Automation Library that allows the NUnit tests to execute on Android and iOS devices. The tests interact with the user interface as a user would: entering text, tapping buttons, and gestures - such as swipes.

*

Microsoft.CodeAnalysis

What is Microsoft code analysis?

Code quality analysis ("CAxxxx") rules inspect your C# or Visual Basic code for security, performance, design and other issues. Analysis is enabled, by default, for projects that target . NET 5 or later. You can enable code analysis on projects

that target earlier .

Reference:

https://playwright.dev/

Exam Code: AZ-400
Exam Name: Designing and Implementing Microsoft DevOps Solutions
Last Update: May 24, 2026
Questions: 626

PDF (Q&A)

$45.99
ADD TO CART

VCE

$49.99
ADD TO CART

PDF + VCE

$59.99
ADD TO CART

Exam2Pass----The Most Reliable Exam Preparation Assistance

There are tens of thousands of certification exam dumps provided on the internet. And how to choose the most reliable one among them is the first problem one certification candidate should face. Exam2Pass provide a shot cut to pass the exam and get the certification. If you need help on any questions or any Exam2Pass exam PDF and VCE simulators, customer support team is ready to help at any time when required.

Home | Guarantee & Policy |  Privacy & Policy |  Terms & Conditions |  How to buy |  FAQs |  About Us |  Contact Us |  Demo |  Reviews

2026 Copyright @ exam2pass.com All trademarks are the property of their respective vendors. We are not associated with any of them.