exam questions

Exam MS-600 All Questions

View all questions & answers for the MS-600 exam

Exam MS-600 topic 3 question 25 discussion

Actual exam question from Microsoft's MS-600
Question #: 25
Topic #: 3
[All MS-600 Questions]

You have a starter SharePoint Framework (SPFx) web part.
You need to test the web part from the local workbench by connecting to a URL of https://localhost:4321/temp/workbench.html.
Which tool should you use make the web part available locally for debugging?

  • A. Yeoman
  • B. Microsoft Visual Studio Code
  • C. npm install
  • D. gulp serve
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
nick12343
Highly Voted 2 years ago
Took the exam today. In the resulting score table, I have 100% for SharePoint development, assuming that all answers were correct. For this question, I selected "gulp serve"
upvoted 13 times
sai_sumanth
1 year, 8 months ago
really great and congratulations!! for sharing yourthe information but gulp serve is a command I hope it will run on cmd prompt how it is a tool? can you explain? if possible thanks in advance :-*)
upvoted 1 times
...
...
dan234
Highly Voted 2 years, 8 months ago
I guess maybe its a semantics issue. Which "tool" should you use. Gulp serve is a command not a tool so I guess the answer is VSCode?
upvoted 7 times
...
Pipas_Peladas
Most Recent 6 months, 4 weeks ago
Selected Answer: D
As SP developer, Gulp serve
upvoted 1 times
...
sergiiohd
1 year, 2 months ago
Weird question/answers but i think it might be B
upvoted 1 times
...
DmitriyVdE
1 year, 2 months ago
Selected Answer: D
Serve with 'gulp serve' and setting the preferred url (in this case workbench) in 'serve.json'.
upvoted 2 times
...
AASPDev
1 year, 5 months ago
Tool For Debugging > VS Code. For Testing > Workbench by running gulp- serve command?
upvoted 2 times
...
mightyjoebong
2 years ago
The question requires to use the local workbench. The local workbench is started by gulp serve, not VSCode. So answer is gulp serve.
upvoted 3 times
...
TechieBloke
2 years, 1 month ago
https://www.c-sharpcorner.com/article/understanding-gulp-tasks-in-sharepoint-framework-solutions/ The serve task is used to test the developed web part locally using workbench files. So the correct answer is glup serve.
upvoted 2 times
...
wonderznight
2 years, 3 months ago
gulp serve
upvoted 1 times
...
AjayKinen
2 years, 5 months ago
IMO, the correct answer is gulp serve. You need it to start the local webserver. Without it you cannot debug the code. You don't need VSCode to debug. It is one option, but not necessary.
upvoted 4 times
...
sudhee
2 years, 5 months ago
Answer is correct https://docs.microsoft.com/en-us/sharepoint/dev/spfx/debug-in-vscode
upvoted 4 times
jr2020
2 years, 4 months ago
Microsoft suggest to use VSCode for better debugging experience so answer is B.
upvoted 2 times
...
...
mountainhyena
2 years, 5 months ago
How on earth does Gulp Serve accomplish this? Gulp Serve is equivalent to MSBuild. It doesn't host anything for you....
upvoted 4 times
...
RussellMan
2 years, 5 months ago
i’m going with gulp serve, gulp is a tool!
upvoted 2 times
...
TRUESON
2 years, 6 months ago
I never use VS Code to debug ... Chrome Dev Tools ... Still tricky question ... good luck
upvoted 1 times
...
Jedik
2 years, 8 months ago
Then you don't need VSC to debug it. You can do it from browser's debugger. js files are associated with map files that let's you tosee code even in typescipt
upvoted 2 times
...
Jedik
2 years, 8 months ago
Gulp serve insiantietes your webpart localy and even runs the browser for you. Yiu can start it even from cmd
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago