142k views
4 votes
One remedy for the inconsistencies cause by concurrent processing is:

a. resource locking
b. lost updates
c. checkpointing
d. rollback

1 Answer

3 votes

Final answer:

Resource locking, checkpointing, and rollback are remedies for the inconsistencies caused by concurrent processing.

Step-by-step explanation:

One remedy for the inconsistencies caused by concurrent processing is resource locking. This involves temporarily blocking access to a resource while it is being used by one process, preventing other processes from modifying it simultaneously. This ensures that only one process can access the resource at a time, reducing the chances of inconsistencies.

Another remedy is checkpointing, which involves periodically saving the current state of a process and its data, so that in case of failures or inconsistencies, the system can be rolled back to a previously saved checkpoint. This helps in maintaining data consistency even in the presence of concurrent processing.

Lastly, rollback is a process where changes made by a transaction are undone, reverting the system's state to what it was before the transaction was initiated. This is useful in case of failures or inconsistencies caused by concurrent processing, allowing the system to recover and maintain data integrity.

User Josh K
by
8.3k points