Microsoft PL-500 Practice Test Questions and Exam Dumps Part19 Q361-380

View Full Microsoft PL-500 Exam Dumps and Practice Test Dumps.

 

Question 361

A developer needs to process a collection of email addresses sequentially in a cloud flow. Which control is appropriate?

  1. Terminate
  2. Apply to each
  3. Delay
  4. Compose

Correct Answer: 2

Explanation

Apply to each is designed to execute the same group of actions for every item in a collection. If a cloud flow receives multiple email addresses, the developer can use this control to process each address individually, such as validating it, sending a message, or adding it to another system. The loop automatically provides the current item to the actions inside it. Terminate stops execution, Delay pauses processing, and Compose creates an intermediate value. Apply to each is therefore the appropriate control when the automation must process each member of a collection separately.

Question 362

A developer needs to compare an order amount against an approval threshold and select the correct processing path. Which capability should be used?

  1. Machine group
  2. Condition
  3. OCR
  4. Connection reference

Correct Answer: 2

Explanation

A Condition allows a flow to evaluate a value against a business rule and choose the appropriate processing path. In this case, the order amount can be compared with the approval threshold, allowing the automation to determine whether additional approval is required. Conditions are useful for implementing decisions based on values, statuses, dates, or other logical expressions. Machine groups organize desktop execution resources, OCR extracts text from images, and connection references manage solution connections. A Condition is therefore the appropriate capability for selecting an automation path based on an order amount.

Question 363

A cloud flow needs to store an intermediate calculation before passing the result to several later actions. Which action is useful?

  1. Compose
  2. Queue priority
  3. DLP policy
  4. Machine group

Correct Answer: 1

Explanation

Compose can create and hold an intermediate value that can be referenced by later actions in a cloud flow. It is useful for calculations, text construction, formatting, or preparing data before another action consumes it. For example, a flow could calculate a discount amount once and then use the resulting value in multiple later steps. Queue priority controls work ordering, DLP policies govern connector usage, and machine groups organize desktop execution resources. Compose is therefore appropriate when the developer needs to prepare and retain an intermediate calculation or other derived value for subsequent processing.

Question 364

A developer wants several actions to be treated as one logical unit when configuring failure handling. Which capability should be used?

  1. Scope
  2. List
  3. OCR
  4. Queue priority

Correct Answer: 1

Explanation

Scope allows related cloud-flow actions to be grouped into a logical container. This is useful when a developer wants to organize a process into meaningful sections or configure handling based on the result of a group of actions. For example, a scope might contain all actions responsible for processing an order and allow subsequent logic to respond to whether that group succeeded or failed. Lists store collections, OCR extracts text from images, and queue priority controls work ordering. Scope is therefore the appropriate capability for organizing related actions as one logical unit.

Question 365

A cloud flow should stop processing when a required customer identifier is missing. Which action can explicitly end the flow?

  1. Apply to each
  2. Compose
  3. Terminate
  4. Delay

Correct Answer: 3

Explanation

Terminate explicitly ends a cloud flow when continuing would be inappropriate. If a required customer identifier is missing, later actions may not have enough information to perform their intended work correctly. The developer can validate the identifier and use a termination action when the required value is unavailable. Apply to each processes collections, Compose prepares intermediate values, and Delay pauses execution. Terminate is therefore appropriate when a validation failure means that the automation should not proceed with subsequent actions.

Question 366

A developer needs to wait 30 seconds before checking whether an external process has finished. Which action should be configured?

  1. Delay
  2. Parse JSON
  3. Condition
  4. Scope

Correct Answer: 1

Explanation

Delay pauses a cloud flow for a specified period before it continues to the next action. A 30-second delay can be useful when an external process normally requires a predictable amount of time before its status can be checked. The developer should consider whether event-based or status-based monitoring would be more efficient when completion times vary significantly, because fixed delays can create unnecessary waiting. Parse JSON processes structured JSON responses, Condition evaluates logical rules, and Scope groups actions. Delay is therefore the appropriate action for a defined waiting interval.

Question 367

A developer wants to repeatedly check an application’s status until it reports Completed. Which control structure is suitable?

  1. Queue priority
  2. Do until
  3. Connection reference
  4. Environment variable

Correct Answer: 2

Explanation

Do until can repeatedly evaluate a condition and continue processing until the required state is reached. In this scenario, the automation can check the application’s status and continue waiting or performing related actions until the status becomes Completed. This approach is more condition-driven than relying only on a fixed delay. Appropriate timeout or iteration limits should be considered so that the automation does not continue indefinitely if the application never reaches the expected state. Queue priority controls work ordering, connection references manage connections, and environment variables store configuration. Do until is therefore suitable for this status-monitoring scenario.

Question 368

A desktop flow has several actions that must be executed repeatedly as a group from different points in the automation. What should the developer create?

  1. DLP policy
  2. Subflow
  3. Machine group
  4. Connection reference

Correct Answer: 2

Explanation

A subflow provides a reusable section of desktop automation that can contain several related actions. Creating a subflow for repeated processing avoids duplicating the same actions in multiple places and makes maintenance easier. If the shared sequence changes later, the developer can update the subflow rather than modifying every duplicate copy. DLP policies govern connector usage, machine groups organize execution machines, and connection references manage solution connections. A subflow is therefore the appropriate design when a desktop automation needs to reuse the same group of actions from different points.

Question 369

A developer needs to convert a text value such as “1250” into a number before calculating tax. Which operation is appropriate?

  1. Convert text to number
  2. OCR
  3. Run after
  4. Queue priority

Correct Answer: 1

Explanation

A text value must be converted into a numerical data type before reliable arithmetic operations can be performed. Converting text to number allows the automation to treat a value such as a text-based amount as numeric data that can be added, multiplied, compared, or otherwise calculated. This is particularly useful when information comes from files, APIs, or application fields that return values as text. OCR extracts text from images, Run after controls action dependencies, and queue priority manages work ordering. Converting text to number is therefore the appropriate operation before calculating tax on a text-based amount.

Question 370

A desktop flow receives structured information with properties such as AccountID, Status, and Balance. Which data type is suitable for representing one such record?

  1. List
  2. Custom object
  3. Machine group
  4. Queue

Correct Answer: 2

Explanation

A custom object is suitable for representing a single structured record containing several named properties. In this example, AccountID, Status, and Balance can be stored together as properties of one object. This allows the desktop flow to access individual values while keeping the related information grouped logically. A List is more appropriate for an ordered collection, while a machine group organizes execution resources and a queue manages work items. A custom object is therefore the appropriate data structure when a desktop automation needs to represent a record containing multiple related properties.

Question 371

A developer wants to read individual fields from a JSON response returned by a web service. Which capability should be used first?

  1. Parse JSON
  2. Delay
  3. Terminate
  4. Machine group

Correct Answer: 1

Explanation

Parse JSON interprets the structure of a JSON response and exposes its properties for use by subsequent automation actions. This is useful when a web service returns information such as customer details, transaction status, or identifiers inside a structured JSON object. After parsing, the developer can reference the required fields in conditions, calculations, records, or other requests. Delay pauses execution, Terminate stops the process, and machine groups organize desktop execution resources. Parse JSON is therefore the appropriate first capability when individual properties need to be extracted from a JSON response.

Question 372

A developer needs to extract a specific value from an XML document returned by an external system. Which capability is most appropriate?

  1. Queue priority
  2. XML functions
  3. Environment variable
  4. UI selector

Correct Answer: 2

Explanation

XML functions allow an automation to work with structured XML information and retrieve values from the document. This is useful when an external service returns data in XML format and the automation needs only selected elements for later processing. The extracted value can then be used in conditions, calculations, record creation, or other automation steps. Queue priority manages work ordering, environment variables store configuration, and UI selectors identify application elements. XML functions are therefore appropriate when the automation needs to interpret and retrieve specific information from an XML document.

Question 373

A developer needs to convert a CSV response into a structure where individual rows and columns can be accessed. Which capability is most relevant?

  1. Datatable
  2. CSS selector
  3. Queue priority
  4. Connection reference

Correct Answer: 1

Explanation

A Datatable provides a structured row-and-column representation that is suitable for processing CSV information after it has been parsed. Once the CSV content is available in a Datatable, the automation can access specific columns, loop through rows, apply conditions, calculate values, or prepare updated output. CSS selectors identify browser elements, queue priority manages work ordering, and connection references manage solution connections. A Datatable is therefore the relevant structure when a developer needs to access individual rows and columns from CSV-based data within an automation.

Question 374

A custom connector needs to communicate with an API that requires authentication. Which configuration should be reviewed?

  1. Authentication settings
  2. Machine group
  3. Datatable
  4. Scope

Correct Answer: 1

Explanation

Authentication settings define how a custom connector authenticates with the external API. The connector must use an authentication method supported by the service so that requests can be authorized correctly. Proper configuration also allows consuming flows to use the connector without manually implementing authentication for every individual request. Machine groups organize desktop execution resources, Datatables store structured data, and Scopes group cloud-flow actions. Authentication settings are therefore the appropriate configuration to review when a custom connector needs to communicate securely with an authenticated API.

Question 375

A developer wants to apply a reusable transformation to requests sent through a custom connector. Which feature can provide this behavior?

  1. Policy template
  2. OCR
  3. Apply to each
  4. Machine group

Correct Answer: 1

Explanation

A policy template can be used within a custom connector to apply defined behavior to requests or responses. This allows integration-related transformations or adjustments to be centralized at the connector level instead of being repeated across every consuming flow. Centralization can improve consistency and reduce maintenance when multiple automations use the same external API. OCR extracts text from images, Apply to each processes collections, and machine groups organize execution machines. A policy template is therefore the appropriate feature when a reusable transformation or connector-level behavior is required.

Question 376

A developer wants to invoke a custom API integration from multiple cloud flows without recreating the HTTP configuration each time. What should be created?

  1. Custom connector
  2. Datatable
  3. Environment variable
  4. Subflow

Correct Answer: 1

Explanation

A custom connector provides a reusable interface to an external API so multiple cloud flows can use the same integration without independently rebuilding request definitions and authentication behavior. This can simplify development and improve consistency across automations that depend on the same service. A Datatable stores structured records, an environment variable stores configuration values, and a subflow centralizes reusable flow logic but does not itself define an API integration. A custom connector is therefore the appropriate solution when several cloud flows need a common reusable interface to an external API.

Question 377

A browser automation fails because the webpage element is no longer located by its previous selector. What should the developer inspect?

  1. Selector structure and element properties
  2. Queue priority
  3. DLP policy
  4. Machine group name

Correct Answer: 1

Explanation

When a browser element can no longer be found, the developer should inspect the selector and compare it with the current webpage element properties and structure. Application updates can change attributes, element hierarchy, names, or other characteristics used by selectors. Repairing the selector, choosing more stable attributes, or adding an alternative selector may restore reliable identification. Queue priority controls work ordering, DLP policies govern connector usage, and machine group names do not determine browser element recognition. Inspecting selector structure and current element properties is therefore the appropriate troubleshooting step.

Question 378

A developer wants to automate a webpage using actual browser controls rather than treating the screen as a static image. Which element type is appropriate?

  1. Web UI element
  2. Datatable
  3. Queue item
  4. Environment variable

Correct Answer: 1

Explanation

Web UI elements are designed to represent controls and components within browser-based webpages. They allow browser automation actions to interact with webpage elements through their underlying properties and selectors rather than relying exclusively on visual screen coordinates. This generally provides a more structured approach to web automation and can improve reliability when the webpage structure is stable. Datatables store structured information, queue items represent business work, and environment variables store configuration. A web UI element is therefore appropriate when the automation needs to interact directly with controls in a browser.

Question 379

A desktop flow must automate a Windows application that has no suitable web interface or cloud connector. Which approach is appropriate?

  1. Desktop UI automation
  2. DLP policy only
  3. Environment variable only
  4. Queue priority only

Correct Answer: 1

Explanation

Desktop UI automation is appropriate when a Windows application must be controlled through its user interface and no suitable cloud connector or web-based integration is available. The automation can identify application controls and perform actions such as launching the application, entering information, selecting options, and retrieving displayed values. DLP policies govern connector usage, environment variables store configuration, and queue priority controls work ordering; none of these independently provide application interaction. Desktop UI automation is therefore the appropriate approach for automating a Windows application through its user interface.

Question 380

An administrator wants to make sure automation accounts cannot access unrelated resources that are outside their assigned business process. Which approach should be applied?

  1. Least privilege
  2. Maximum privilege
  3. Shared passwords
  4. Anonymous execution

Correct Answer: 1

Explanation

Least privilege limits an automation account to the permissions required for its assigned business process. This reduces unnecessary access and limits the potential impact if credentials are compromised or the automation behaves unexpectedly. For example, an account that only processes invoices should not automatically have administrative access to unrelated systems or sensitive resources. Maximum privilege increases unnecessary exposure, shared passwords reduce accountability and complicate credential management, and anonymous execution weakens identity controls. Least privilege is therefore the appropriate approach for restricting automation accounts to only the resources and actions they genuinely require.