ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 167 - AD01 discussion

Report
Export

Please refer to the exhibit.

A Developer has configured Environment Lock in the process to ensure duplicate items are not added to the Work Queue

What is missing in the logic?

A.
A Release Lock action should be added to the recovery logic to unlock the resource in case of an exception
Answers
A.
A Release Lock action should be added to the recovery logic to unlock the resource in case of an exception
B.
A Query Lock action should be added after the Release Lock to confirm the release of the Lock Token
Answers
B.
A Query Lock action should be added after the Release Lock to confirm the release of the Lock Token
C.
A unique Lock Token should be added to its Data item to ensure the lock is acquired successfully
Answers
C.
A unique Lock Token should be added to its Data item to ensure the lock is acquired successfully
D.
A Sleep action should be added after the Acquire Lock to allow time for the Lock to be acquired
Answers
D.
A Sleep action should be added after the Acquire Lock to allow time for the Lock to be acquired
Suggested answer: A

Explanation:

In Blue Prism, Environment Locks are used to prevent concurrent access to resources. When an exception occurs, it is crucial to ensure that the lock is released to avoid deadlocks and ensure other processes can acquire the lock.

A Release Lock action should be added to the recovery logic to unlock the resource in case of an exception (Option A): This ensures that even if an exception occurs, the lock is released, preventing any potential deadlocks and allowing other processes to acquire the lock.

Other options are not directly addressing the core issue:

Query Lock action (Option B): This checks the lock status but does not help in releasing the lock during an exception.

Unique Lock Token (Option C): While important for acquiring the lock initially, it does not address the release of the lock during exceptions.

Sleep action after Acquire Lock (Option D): This helps in timing but does not handle lock release in case of an exception.

Reference Refer to Blue Prism's best practices on using Environment Locks and handling exceptions to ensure that resources are properly managed and locks are released appropriately.

asked 16/09/2024
lawrence Ajibolade
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first