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 34 out of 98 Pages

Topic 4: Mix Questions Set

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 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 Octopus Deploy server. You deploy a polled Tentacle agent to an on-premises server. You add an Octopus task to the deployment pipeline. Does this meet the goal?


A. Yes


B. No





B.
  No

Explanation: Instead you should deploy an Azure self-hosted agent to an on-premises server. Note: 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).

You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1. You have a Slack channel named App1chat that includes an incoming webhook. You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook. What should you use?


A. an alert rule


B. a notification


C. an action group


D. a subscription





D.
  a subscription

Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server 2016. You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:

  • Ensure that the virtual machines maintain a consistent configuration.
  • Minimize administrative effort to configure the virtual machines
What should you include in the recommendation?


A. Deployment YAML and Azure pipeline stage templates


B. Azure Resource Manager templates and the Custom Script Extension for Windows


C. Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows


D. Deployment YAML and Azure pipeline deployment groups





C.
  Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows

Explanation: The Custom Script Extension downloads and executes scripts on Azure virtual machines. This extension is useful for post deployment configuration, software installation, or any other configuration or management tasks. Scripts can be downloaded from Azure storage or GitHub, or provided to the Azure portal at extension run time. The Custom Script Extension integrates with Azure Resource Manager templates, and can be run using the Azure CLI, PowerShell, Azure portal, or the Azure Virtual Machine REST API.

Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.
You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.
What should you use?


A. PDM


B. OWASPZAP


C. WhiteSource


D. Jenkins





C.
  WhiteSource

You have a containerized solution that runs in Azure Container Instances. The solution contains a frontend container named App1 and a backend container named DB1. DB1 loads a large amount of data during startup. You need to verify that DB1 can handle incoming requests before users can submit requests to Appl. What should you configure?


A. a Iiveness probe


B. an Azure Load Balancer health probe


C. a readiness probe


D. a performance log





C.
  a readiness probe

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


Page 34 out of 98 Pages
Previous