nerdexam
MicrosoftMicrosoft

PL-500 · Question #186

PL-500 Question #186: Real Exam Question with Answer & Explanation

The correct answer is B: Place an On block error action before the block of actions, then set up this action's exception. {"question_number": 4, "question_summary": "Best exception handling strategy when a browser is unresponsive in a Power Automate Desktop flow", "correct_answer": "B", "explanation": "The 'On block error' action in Power Automate Desktop is placed at the beginning of a group of act

Design automations

Question

You are creating a Power Automate for a web portal-interactive desktop flow. If an action within a block of actions is unsuccessful because the browser or portal is not responding, you should restart the browser, close it, and start the web portal interaction over. In this case, what is the most effective strategy to deal with exceptions?

Options

  • ASet up rules to close, restart, and resume the browser session for each action in the block that
  • BPlace an On block error action before the block of actions, then set up this action's exception
  • CTo manage failures throughout the entire flow, use global exception handling rules at the flow level
  • DMake use of block-level exception management by following the block with an On block error

Explanation

{"question_number": 4, "question_summary": "Best exception handling strategy when a browser is unresponsive in a Power Automate Desktop flow", "correct_answer": "B", "explanation": "The 'On block error' action in Power Automate Desktop is placed at the beginning of a group of actions to establish a scoped error handler for that entire block. When any action in the block fails (e.g., an unresponsive browser), the flow jumps to the exception-handling logic you configure, where you can close the browser, relaunch it, and restart the interaction. This is far cleaner than Option A, which requires duplicating error-handling logic for every individual action. Option C (global-level exception handling) is too broad and less precise. Option D is wrong because the 'On block error' action must be placed before (at the start of) the block, not after it.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Exception Handling#Power Automate Desktop#Web Automation#Error Handling Blocks

Community Discussion

No community discussion yet for this question.

Full PL-500 PracticeBrowse All PL-500 Questions