When the operating system will check to make sure that the process has requested and has...
Qualcomm technical mcq question, verified with a worked answer. Free to practise - no sign-up.
When the operating system will check to make sure that the process has requested and has been allocated the resource?
Show answer & explanation
The operating system performs resource validation and permission checks for each use of a kernel-managed resource to ensure the process has legitimately requested and been allocated that resource. This per-use verification is fundamental to resource protection and access control. Options A, C, and D are incorrect because resource checks are not limited to fixed allocations, time intervals, or multiple uses—they occur consistently at every access point.
Step-by-step Derivation:
Resource management in operating systems follows a principle of mandatory access control at each resource boundary. When a process attempts to use a kernel-managed resource (file descriptor, memory page, device, lock, etc.), the OS kernel must verify: (1) the process has a valid handle/reference to that resource, (2) the process holds the necessary permissions, and (3) the resource has been allocated to this process. This validation happens on every single use, not just during initial allocation. This is why option B is correct—it emphasizes the per-use verification that protects system integrity and prevents unauthorized resource access.