exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 9 question 2 discussion

Actual exam question from Microsoft's AZ-400
Question #: 2
Topic #: 9
[All AZ-400 Questions]

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 2022-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.
  • B. Add a Docker Compose task to the build pipelines.
  • C. Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 9.
  • D. Create two container jobs.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
vsvaid
11 months, 3 weeks ago
Selected Answer: D
Create two container jobs
upvoted 2 times
...
renzoku
1 year, 5 months ago
Selected Answer: D
Creating two container jobs allow you to isolate the builds environments, then dependencies and configuration can be managed independently and minimizing infrastructure cost compared to add an additional server (as self-hosted agent or microsoft-hosted agent)
upvoted 2 times
...
zellck
1 year, 6 months ago
Same as Topic 7 Question 77. https://www.examtopics.com/discussions/microsoft/view/44295-exam-az-400-topic-7-question-77-discussion
upvoted 3 times
biscuithammer
1 month, 1 week ago
an updated version of the question, essentially.
upvoted 1 times
...
...
zellck
1 year, 6 months ago
Selected Answer: D
D is the answer. https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops On Linux and Windows agents, jobs may be run on the host or in a container. (On macOS and Red Hat Enterprise Linux 6, container jobs are not available.) Containers provide isolation from the host and allow you to pin specific versions of tools and dependencies. Host jobs require less initial setup and infrastructure to maintain. Containers offer a lightweight abstraction over the host operating system. You can select the exact versions of operating systems, tools, and dependencies that your build requires. When you specify a container in your pipeline, the agent will first fetch and start the container. Then, each step of the job will run inside the container. You can't have nested containers. Containers aren't supported when an agent is already running inside a container.
upvoted 2 times
...
kay000001
1 year, 6 months ago
Selected Answer: D
Repeated question in Dump. Should be D.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...