New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft AZ-400 Exam - Topic 1 Question 8 Discussion

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

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 enabling parallel jobs for the pipeline.

Does this meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

Instead enable pipeline caching.

Note:

npm-cache is a command line utility that caches dependencies installed via npm, bower, jspm and composer.

It is useful for build processes that run [npm|bower|composer|jspm] install every time as part of their build process. Since dependencies don't change often, this often means slower build times. npm-cache helps alleviate this problem by caching previously installed dependencies on the build machine.


https://www.npmjs.com/package/npm-cache

Contribute your Thoughts:

0/2000 characters
Caprice
4 months ago
Wait, are you sure? I thought it would make a difference!
upvoted 0 times
...
Catherin
4 months ago
Nope, just speeds up different tasks, not npm installs.
upvoted 0 times
...
Valene
4 months ago
I thought parallel jobs could help with overall execution time?
upvoted 0 times
...
Nicholle
4 months ago
Totally agree, it won't help with that.
upvoted 0 times
...
Gerri
5 months ago
Enabling parallel jobs won't speed up npm installs.
upvoted 0 times
...
Aja
5 months ago
I vaguely recall something about optimizing the pipeline by using a cache task for npm. I wonder if that’s what we should be focusing on instead of parallel jobs.
upvoted 0 times
...
Leota
5 months ago
I’m a bit confused. Wouldn’t caching the npm packages be a better solution? I feel like that could really cut down the time.
upvoted 0 times
...
Kathrine
5 months ago
I think enabling parallel jobs might not help with the npm install time since it's a single job. I feel like I saw a similar question about caching dependencies.
upvoted 0 times
...
Stephanie
5 months ago
I remember reading that parallel jobs can help with running multiple tasks at once, but I'm not sure if it specifically speeds up npm installs.
upvoted 0 times
...
Gerri
5 months ago
This looks like a question on performance measures. I think the key is to identify which measure includes both profits and the investment base. Residual income seems like the most likely answer, since it takes into account the cost of capital and the investment base.
upvoted 0 times
...
Franklyn
5 months ago
Okay, I've got this. The two primary elements are fixed pay, like a salary, and variable pay, like bonuses or commissions. I'm confident that A is the right answer here.
upvoted 0 times
...
Carolynn
5 months ago
This question seems straightforward - I think the answer is C, applying a risk-based approach to determine major programs.
upvoted 0 times
...
Gilbert
5 months ago
I think the vBond orchestrator manages connections with vSmart controllers, but I'm not completely sure which option it is.
upvoted 0 times
...

Save Cancel