exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 8 question 58 discussion

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

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 use Azure Pipelines to build and test a React.js application.
You have a pipeline that has a single job.
You discover that installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline.
You need to recommend a solution to reduce the pipeline execution time.
Solution: You recommend using pipeline artifacts.
Does this meet the goal?

  • A. Yes
  • B. No
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
syu31svc
Highly Voted 2 years, 3 months ago
Selected Answer: B
Use pipeline caching instead https://docs.microsoft.com/en-us/azure/devops/pipelines/release/caching?view=azure-devops Answer is No
upvoted 14 times
Divyayuvi
2 years, 3 months ago
yes, correct
upvoted 1 times
...
...
vsvaid
Most Recent 11 months, 2 weeks ago
Selected Answer: B
Yse pipeline caching
upvoted 2 times
vsvaid
11 months, 2 weeks ago
I meant no, use pipleline caching
upvoted 1 times
...
...
yana_b
1 year, 4 months ago
Selected Answer: B
Should be No, as we need pipeline caching for this
upvoted 1 times
...
Madbo
1 year, 7 months ago
The correct answer is "No" because the recommended solution in the question is to use pipeline artifacts, but pipeline artifacts are designed to share specific files produced in one job with other jobs. They are not intended to speed up build times. To reduce pipeline execution time, pipeline caching is a better solution
upvoted 3 times
...
Shivaprasad123
1 year, 8 months ago
Instead enable pipeline caching
upvoted 1 times
...
anhtvux
1 year, 10 months ago
Selected Answer: B
Good to know pipeline catching to reusing files from previous runs
upvoted 1 times
...
fanata
1 year, 11 months ago
==>Answer "B" / "No" [When to use artifacts versus caching] Pipeline caching and pipeline artifacts perform similar functions but are designed for different scenarios and shouldn't be used interchangeably. [Use pipeline artifacts] when you need to take specific files produced in one job and share them with other jobs (and these other jobs will likely fail without them). [Use pipeline caching] when you want to improve {build time} by reusing files from previous runs (and not having these files won't impact the job's ability to run).
upvoted 4 times
...
pamswam
2 years, 2 months ago
Selected Answer: B
B is correct (Pipeline caching would be a Yes!)
upvoted 1 times
...
MohmmadFayez
2 years, 3 months ago
Selected Answer: B
Answer No
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 ...