AZ-400 exam dumps

AZ-400 practice question 147 of 306

Designing and Implementing Microsoft DevOps Solutions. Professional level, Microsoft. Free question with the correct answer and a full explanation.

AZ-400 Question 147

Single answer

Your company has a .NET application that requires specialized software running on a Linux VM behind your corporate firewall for integration testing. You need to incorporate these tests into an Azure DevOps pipeline while minimizing manual overhead and ensuring the tests can access internal resources. Which solution best addresses these requirements?

  1. A

    Provision a self-hosted agent on your custom Linux VM and register it with Azure DevOps

  2. B

    Use a Microsoft-hosted agent with a custom Docker container for your specialized software

  3. C

    Create a multi-stage pipeline using only built-in Azure DevOps tasks, bypassing the Linux VM

  4. D

    Set up an agent pool using Azure DevOps scale set agents with ephemeral VMs outside the firewall

Show answer and explanation

Correct answer: A

Explanation

In Azure DevOps, if you need to run tests or processes behind a corporate firewall and leverage specialized software, self-hosted agents (also known as self-hosted runners in GitHub) are often the most straightforward solution. This setup allows the pipeline to access internal network resources securely and ensures you can maintain a custom environment. For more details, refer to Microsoft� documentation on self-hosted agents for Azure DevOps: https://docs.microsoft.com/azure/devops/pipelines/agents/agents.

  • A. Correct.

    Correct. A self-hosted agent on your custom Linux VM allows you to install and maintain the required specialized software while running tests securely behind your corporate firewall. Once registered with Azure DevOps, it avoids the need to manually configure the environment for every pipeline run.

  • B. Incorrect.

    Incorrect. While using containers on a Microsoft-hosted agent can provide some customization, it does not fully address the need to run behind your corporate firewall and may still lack direct access to internal resources without additional network configurations.

  • C. Incorrect.

    Incorrect. A purely built-in Azure DevOps multi-stage pipeline would not solve the requirement to run tests on a VM with specialized software behind the firewall. You would lack the necessary environment to execute the tests and manage specialized software versions.

  • D. Incorrect.

    Incorrect. Scale set agents with ephemeral VMs are suitable for dynamic scaling scenarios in the cloud but would not inherently resolve the requirement of running tests behind the corporate firewall directly on a specialized VM. Additional on-premises connectivity and management would still be needed.

Timed practice exam

Take a AZ-400 practice test under exam conditions

70 questions in 90 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam