exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 5 question 7 discussion

Actual exam question from Microsoft's PL-400
Question #: 7
Topic #: 5
[All PL-400 Questions]

HOTSPOT -
You develop the following JavaScript code for a web resource that will be used in a model-driven app.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:

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
Vivinator1
Highly Voted 3 years, 4 months ago
box 2 should be YES also because strict equality compare is missing in line 18.
upvoted 45 times
getazusername
3 years, 2 months ago
You right thanks bro.
upvoted 1 times
...
JorgeC
3 years, 2 months ago
You are right!
upvoted 1 times
...
...
nivanpee
Highly Voted 2 years, 11 months ago
Correct answer is YYN
upvoted 7 times
...
Juan0414
Most Recent 3 months, 3 weeks ago
Y Y - Last if is missing === N - If anything remove-alert https://learn.microsoft.com/en-us/power-apps/maker/data-platform/use-powerapps-checker#best-practice-rules-used-by-solution-checker
upvoted 1 times
...
zick007
6 months, 3 weeks ago
should be NNN, unless you explicitly "use strict" , the code should run just fine.
upvoted 2 times
...
yuko17
1 year, 7 months ago
Yes、Yes、No
upvoted 1 times
...
Jimmyplus05
1 year, 11 months ago
Correct Answer is Yes Yes No
upvoted 2 times
...
xanr4711
2 years, 4 months ago
shouldn't the code crash cause baseurl is not a url??
upvoted 3 times
...
j3
2 years, 8 months ago
YNN For Q2 - you have to 'use strict' within every new function
upvoted 4 times
StefanGrigorescu
2 years, 3 months ago
Could you explain your observation more in detail, please?
upvoted 1 times
jayjayone
2 years, 3 months ago
only if you write 'use strict' on top of your code you will get an exception, if you don't write 'use strict' you'll only get a warning
upvoted 4 times
...
...
Fyrus
1 year, 11 months ago
I agree with you. Warnings != Exception
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 ...