exam questions

Exam PL-400 All Questions

View all questions & answers for the PL-400 exam

Exam PL-400 topic 4 question 24 discussion

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

You create a cloud flow to process a list of records using a loop.

You need to determine when to initialize a variable that is used to process the records.

When should you initialize the variable?

  • A. after the loop
  • B. after the first use of the variable inside the loop
  • C. before the loop
  • D. before the first use of the variable inside the loop
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
Juan0414
1 month, 4 weeks ago
Selected Answer: C
You can not initialize variables inside containers (Loops, scopes, etc.) and it should be before you use it.
upvoted 1 times
...
At09
7 months, 1 week ago
Answer is C
upvoted 1 times
...
MikeAWS
7 months, 4 weeks ago
C is correct. We should initialize the variable before the loop (Option C). Initializing a variable before the loop ensures that it starts with the correct initial value and can be used within the loop with the desired value from the beginning of the loop's execution.
upvoted 1 times
...
jkaur
8 months, 2 weeks ago
Correct C
upvoted 1 times
...
Barb123
8 months, 4 weeks ago
In exam 02.08.2023
upvoted 1 times
...
RSoumya
10 months, 1 week ago
Selected Answer: C
C is the correct option
upvoted 1 times
...
Domki98
11 months, 2 weeks ago
Selected Answer: C
... :)
upvoted 2 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