exam questions

Exam 70-767 All Questions

View all questions & answers for the 70-767 exam

Exam 70-767 topic 1 question 29 discussion

Actual exam question from Microsoft's 70-767
Question #: 29
Topic #: 1
[All 70-767 Questions]

HOTSPOT -
You have the Microsoft SQL Server Integration Services (SSIS) package shown in the Control flow exhibit. (Click the Exhibit button.)

The package iterates over 100 files in a local folder. For each iteration, the package increments a variable named loop as shown in the Expression task exhibit.
(Click the Exhibit button) and then imports a file. The initial value of the variable loop is 0.

You suspect that there may be an issue with the variable value during the loop. You define a breakpoint on the Expression task as shown in the BreakPoint exhibit. (Click the Exhibit button.)

You need to check the value of the loop variable value.
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:
Break condition: When the task or container receives the OnPreExecute event.
Called when a task is about to execute. This event is raised by a task or a container immediately before it runs.
The loop variable does not reset.
With the debugger, you can break, or suspend, execution of your program to examine your code, evaluate and edit variables in your program, etc.

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
heiko_22
4 years, 5 months ago
I believe that the first answer is correct, i will go with "yes". Hit count is set to 3 which means the execution would be suspended every third time (1st loop : 0, Second loop : 10, Third loop /breakpoint : 20) Reference : https://docs.microsoft.com/en-us/sql/integration-services/troubleshooting/debugging-control-flow?view=sql-server-ver15
upvoted 2 times
...
kimalto452
4 years, 7 months ago
before first =0 before second=10 before third =20
upvoted 3 times
...
Slava_bcd81
4 years, 8 months ago
the first is no, the variable value before each iteration will be: - 0 - 10 - 20 so the breakpoint triggers before the second iteration and the variable value is 10
upvoted 3 times
Slava_bcd81
4 years, 8 months ago
so the answer is: -no -no -yes
upvoted 3 times
...
kimalto452
4 years, 7 months ago
Its not before the second iteration ITS BEFORE THIRD , the answer is correct its YES, NO, YES. before third iteration the value is 20.
upvoted 3 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 ...