PL 400 Automate Business Processes with Power Automate 2 — Questions and Answers
Question 1: A developer needs to call a custom connector from a cloud flow and pass a dynamic array of items. Which action type should they use to iterate over the array before calling the connector?
- Do Until
- Apply to Each (Correct answer)
- Parallel Branch
- Switch
Correct answer: Apply to Each
'Apply to Each' iterates over an array collection, executing the connector call for each item.
Question 2: When building a custom connector in Power Automate, which authentication type should be used when the API requires an OAuth 2.0 authorization code grant flow?
- API Key
- Basic Authentication
- OAuth 2.0 (Correct answer)
- Windows Authentication
Correct answer: OAuth 2.0
OAuth 2.0 is the authentication type that supports the authorization code grant flow for delegated permissions.
Question 3: A flow triggers when a SharePoint list item is created. The developer wants the flow to run only if the item's 'Status' field equals 'Approved'. What is the most efficient approach?
- Add a Condition action after the trigger
- Use a Filter Query on the trigger (Correct answer)
- Add a Scope with a condition inside
- Use a Do Until loop checking the field
Correct answer: Use a Filter Query on the trigger
Using a Filter Query on the trigger prevents unnecessary flow runs by filtering at the data source level.
Question 4: In Power Automate, what function retrieves the output of a previous action named 'Get Items' when the action is not directly connected in sequence?
- triggerOutputs()
- outputs('Get_Items')
- actions('Get_Items').outputs (Correct answer)
- body('Get_Items')
Correct answer: actions('Get_Items').outputs
The expression `actions('Get_Items').outputs` references the full output of a named action anywhere in the flow.
Question 5: A cloud flow using a premium connector fails intermittently due to API throttling. Which built-in feature should the developer configure to handle transient failures?
- Parallel Branch
- Retry Policy (Correct answer)
- Concurrency Control
- Run After setting
Correct answer: Retry Policy
The Retry Policy on an action automatically retries failed calls based on a configured count and interval.
Question 6: A developer wants a child flow to accept an input parameter and return a result to the parent flow. Which trigger should the child flow use?
- When an HTTP request is received
- Manually trigger a flow
- PowerApps
- When a flow is run from another flow (Respond to a PowerApp or flow) (Correct answer)
Correct answer: When a flow is run from another flow (Respond to a PowerApp or flow)
'Respond to a PowerApp or flow' trigger allows child flows to receive inputs and return outputs to the parent flow.
Question 7: Which expression returns the current UTC date and time as a string in ISO 8601 format inside a Power Automate flow?
- now()
- utcNow() (Correct answer)
- currentDate()
- formatDateTime(now(), 'yyyy-MM-dd')
Correct answer: utcNow()
The `utcNow()` function returns the current UTC timestamp in ISO 8601 format.
A developer needs to call a custom connector from a cloud flow and pass a dynamic array of items.
Which action type should they use to iterate over the array before calling the connector?