ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 106 - AZ-400 discussion

Report
Export

You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named App1. You have an agent pool named Pool1 that contains a Windows Server 2019-based self-hosted agent. Pipe1 uses Pool1. You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2. App1 and App2 have conflicting dependencies.

You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs. What should you do?

A.
Add another self-hosted agent.
Answers
A.
Add another self-hosted agent.
B.
Add a Docker Compose task to the build pipelines.
Answers
B.
Add a Docker Compose task to the build pipelines.
C.
Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 8.
Answers
C.
Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 8.
D.
Create two container jobs.
Answers
D.
Create two container jobs.
Suggested answer: D

Explanation:

To get more control over software dependencies and operating system, you can use Container jobs. Note that the decisions whether to run your pipeline inside a container and whether to use a self-hosted agent are independent. You can directly run your pipeline on a self-hosted agent, or inside a container. You can also execute your pipeline in a container on a Microsoft-hosted agent or on a self-hosted agent. Incorrect Answers:

A: For additional control over hardware, you can use a self-hosted build agent.

Reference:

http://thewindowsupdate.com/2019/09/09/resolving-complex-software-and-hardware-dependencies-in-azure-devops-pipelines/

asked 02/10/2024
Mauricio de Souza Penhalver Hollanda
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first