exam questions

Exam MB-400 All Questions

View all questions & answers for the MB-400 exam

Exam MB-400 topic 6 question 3 discussion

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

HOTSPOT -
A company imports data from files.
The following code is created to import the files. (Line numbers are included for reference only.)

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: No -
Need to set ContinueOnError=True. 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.

Box 2: No -
ContinueOnError = true must be added before Requests = new OrganizationRequestCollection() on line 3.
Example:
// Create an ExecuteMultipleRequest object.
requestWithResults = new ExecuteMultipleRequest()
{
// Assign settings that define execution behavior: continue on error, return responses.
Settings = new ExecuteMultipleSettings()
{
ContinueOnError = false,

ReturnResponses = true -
},
// Create an empty organization request collection.
Requests = new OrganizationRequestCollection()
};

Box 3: Yes -
You can use the ExecuteMultipleRequest message to support higher throughput bulk message passing scenarios in Common Data Service.
ExecuteMultipleRequest accepts an input collection of message Requests, executes each of the message requests in the order they appear in the input collection, and optionally returns a collection of Responses containing each message's response or the error that occurred.

Box 4: No -
This is just for displaying the result.
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- false (executing multiple operations in a single transaction with the ability to roll back all data changes should any one operation fail.) 2-false (ExecuteTransactionRequest does not have ContinueOnError property) 3-true (Message requests in the Requests collection are executed in order as they appear in the collection, where the element at index 0 is executed firs) 4-false ( Display the results returned in the responses)
upvoted 39 times
Yuris
4 years, 10 months ago
Correct
upvoted 5 times
...
TaiH
4 years, 10 months ago
I agree
upvoted 3 times
...
sanharshu7
4 years, 10 months ago
I agree
upvoted 1 times
...
mgharably
4 years, 9 months ago
I agree, https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/jj863631(v=crm.8)?redirectedfrom=MSDN#specify-run-time-execution-options https://docs.microsoft.com/en-us/previous-versions/dynamicscrm-2016/developers-guide/jj733858(v=crm.8)#properties
upvoted 1 times
...
...
Yuris
Highly Voted 4 years, 10 months ago
The second answer is wrong. ExecuteTransactionRequest does not have ContinueOnError property.
upvoted 14 times
paulcab
4 years, 9 months ago
It does have the ContinueOnError proptery
upvoted 1 times
killuah0190
4 years, 7 months ago
No it doesn't: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.executetransactionrequest?view=dynamics-general-ce-9
upvoted 4 times
Sanlin
4 years, 4 months ago
It makes sense as transaction should be safely completed without any error, just like bank payment.
upvoted 1 times
...
...
...
...
proceSorI
Most Recent 4 years, 4 months ago
correct answer NO NO YES NO
upvoted 2 times
...
zoom_83
4 years, 8 months ago
Answer should be No, No, Yes No
upvoted 2 times
...
DaneP
4 years, 9 months ago
second question seems to be asking if they added it to line 5,would that work.
upvoted 1 times
...
RobinS
4 years, 10 months ago
There is no ContinueOnError property on Execute Transaction Request: https://docs.microsoft.com/en-us/dotnet/api/microsoft.xrm.sdk.messages.executetransactionrequest?view=dynamics-general-ce-9
upvoted 5 times
...
ats04
4 years, 11 months ago
Third should be Yes Message requests in the Requests collection are executed in order as they appear in the collection, where the element at index 0 is executed first. This same order is preserved in the Responses collection. https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/org-service/use-executetransaction
upvoted 11 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