Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 4 question 2 discussion

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

HOTSPOT -
A company is preparing to go live with their Dynamics 365Sales solution, but first they need to migrate data from a legacy system. The company is migrating accounts in batches of 1,000.
When the data is saved to Dynamics 365 Sales, the IDs for the new accounts must be output to a log file.
You have the following code:

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:

Show Suggested Answer Hide Answer
Suggested Answer:
Box 1: No -

Box 2: Yes -
ContinueOnError: When true, continue processing the next request in the collection even if a fault has been returned from processing the current request in the collection. When false, do not continue processing the next request.
ReturnResponses: When true, return responses from each message request processed. When false, do not return responses.
When false, the Responses collection will not be empty if errors are returned. If errors are returned, there will be one response item in the collection for each processed request that returned a fault and Fault will be set to the actual fault that occurred.

Box 3: No -

Box 4: Yes -
For example, in a request collection that contains six requests where the third and fifth request return faults, the following table indicates what the Responses collection would contain.
ContinueOnError=true, ReturnResponses=false: 2 response items: 2 have Fault set to a value.
Reference:
https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/execute-multiple-requests

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Shrimp
Highly Voted 3 years, 9 months ago
correct
upvoted 24 times
...
Zahida
Most Recent 11 months, 4 weeks ago
N, N, N, Y
upvoted 1 times
...
Matte_
1 year ago
Last answer is no since the ReturnResponses is set to false then the requests will not return Andy response.
upvoted 2 times
Panda01
8 months, 3 weeks ago
"However, even when false, the Responses collection will not be empty if errors are returned." https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/execute-multiple-requests#specify-run-time-execution-options
upvoted 2 times
...
friik
10 months, 3 weeks ago
Error responses will always be returned. I'm using an implementation of ExecuteMultipleRequest in our solution, and with ReturnResponses = false, I can still check for errors. :-)
upvoted 3 times
...
...
Matte_
1 year ago
The second answer is No since the ReturnResponses is set to false
upvoted 1 times
friik
10 months, 3 weeks ago
Errors are always returned.
upvoted 2 times
...
...
yasir24
1 year, 1 month ago
NNNN in my opinion.
upvoted 2 times
...
sadzag
1 year, 1 month ago
NNNN No for all
upvoted 4 times
sadzag
1 year, 1 month ago
Correction: NYNY
upvoted 3 times
...
...
700157a
1 year, 2 months ago
Answer is correct. NYNY
upvoted 1 times
...
jkaur
2 years, 8 months ago
No Yes No Yes
upvoted 4 times
...
wwwtmmm
2 years, 9 months ago
Y,Y,N,N
upvoted 1 times
wwwtmmm
2 years, 9 months ago
I figured out the answer is correct NYNY
upvoted 3 times
...
...
Anastasii
2 years, 11 months ago
Correct
upvoted 1 times
...
Sheena
3 years, 6 months ago
1. 'Yes'
upvoted 1 times
Menwall88
3 years, 2 months ago
'returnresponses' is flagged as false so the guids of the records wont be returned
upvoted 3 times
...
...
emregulcan
3 years, 6 months ago
correct. if you want to learn how ExecuteMultipleRequest works and its details, you should take a look to my blog post. It's in Turkish, but you can translate it by using Google Translator to other languages. https://www.emregulcan.com/microsoft-xrm-sdk-messages-executemultiplerequest/
upvoted 3 times
Hugolini
3 years, 2 months ago
'returnresponses' is flagged as false so the guids of the records wont be returned
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 ...