exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 2 question 12 discussion

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

HOTSPOT -
A company is preparing to go live with their Dynamics 365 Customer Engagement 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 Customer Engagement, 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.
NOTE: Each correct selection is worth one point.
Hot Area:

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

Box 2: Yes -
Even when ReturnResponses is 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 -
ContinueOnError, here set to true: 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.

Box 4: Yes -
Even when ReturnResponses is 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.
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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
AliDiab
Highly Voted 4 years, 10 months ago
1- No (ReturnResponses: When true, return responses from each message request processed. When false, do not return responses) 2- Yes (ReturnResponses: However, even 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.) 3- No 4- Yes
upvoted 26 times
mgharably
4 years, 9 months ago
perfect answers, bro (Y)
upvoted 2 times
...
...
Yuris
Highly Voted 4 years, 11 months ago
The first answer should be "No" because the property ReturnResponses is false
upvoted 15 times
Sherif_Sobhy
4 years, 10 months ago
yes , agree with you
upvoted 3 times
...
RobinS
4 years, 10 months ago
It should be yes for the first answer. If you read the reference link:However, even 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.
upvoted 3 times
Sherif_Sobhy
4 years, 10 months ago
The first option mentioned that the newly created records Ids will be returned , and here we can say no because it won't return because of return response set to false , that's means that the response item will be empty in case of success , but it will contain items for errors only in case any failure
upvoted 4 times
...
TaiH
4 years, 10 months ago
The first one should be No, if errors are returned, you can get the fault properties and reasons (probably why the requests failed), but you can not get newly-created ids. Furthermore, if it cannot succeed to send the request, there are no new ids have been created at all.
upvoted 5 times
...
...
...
jkaur
Most Recent 4 years, 5 months ago
No,Yes,No,Yes
upvoted 2 times
...
mariusz
4 years, 5 months ago
no, yes, no, yes => https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/execute-multiple-requests
upvoted 2 times
...
Dangomezhernandez
4 years, 6 months ago
So guys what is the correct answer?
upvoted 1 times
...
sgupta1985
4 years, 6 months ago
Whats the final verdict? :)
upvoted 1 times
...
sanharshu7
4 years, 10 months ago
No - No access to newly created account id as GetAccountDate functio is written above the Execute method No -- Developer will not have access to request caused the fault as ContinewOnError is TRUE No -- ContinewOnError is TRUE so it will contieue execution for all requests No -- ReturnResonses is FALSE so it no response
upvoted 1 times
kennyk123
4 years, 8 months ago
#4 is Yes. Because: However, even 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.
upvoted 2 times
...
...
Juan_Covili
4 years, 10 months ago
ReturnResponses When true, return responses from each message request processed. When false, do not return responses.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago