True or false: If a user authenticates successfully, the user is automatically authorized to access every resource in the system.
2 Secure Design and Access Control Online Quiz Questions
Use this free practice quiz with 20 questions to review 2 Secure Design and Access Control, test your knowledge, and prepare for your next test or exam.
Complete the sentence with the secure design principle that gives each user, service, or process only the access needed for its assigned tasks: .
A user has signed in, but the application must decide whether that user may change a billing setting. Which concept governs this decision?
- A
Identity
- B
Authorization
- C
Authentication
- D
Network segmentation
An access decision depends on an employee's role, the record's sensitivity, and whether the employee is using an approved device. Which access-control model is being used?
True or false: In a zero-trust approach, being inside an organization's network perimeter is by itself enough to establish that a device is trustworthy.
- A
True
- B
False
Complete the sentence with the principle that requires checking authorization whenever a protected resource or action is requested: .
A company gives support analysts permission to read support tickets but not change billing settings. It assigns these permissions through job roles. Which access-control model does this illustrate?
- A
Attribute-based access control, because permissions depend on context
- B
Complete mediation, because access is checked for each request
- C
Role-based access control, because permissions are assigned to job roles
- D
Defense in depth, because multiple safeguards are combined
A team is reducing the risk that a compromised reporting application could be misused. Select all practices that apply least privilege to the application's access.
- A
Give each workload its own service identity with only the permissions it needs.
- B
Give every service administrator access so it can handle unexpected tasks.
- C
Grant access to specific resources and actions instead of broad account-wide permissions.
- D
Embed a shared powerful account's credentials in the application code.
- E
Remove permissions when responsibilities change and review access periodically.
An authorization service is temporarily unavailable, so an application cannot determine whether a request is allowed. Which secure design principle says the application should deny the request rather than grant access by default?
A cloud application uses administrator authentication, fine-grained application authorization, restricted service-to-service network paths, protected secrets, and audit logs. Which design principle best describes combining these safeguards?
- A
Complete mediation
- B
Defense in depth
- C
Identity verification
- D
Role-based access control
A team is reviewing its authorization controls for a cloud application. Select all practices that align with the recommended approach.
- A
Check authorization on every protected request.
- B
Treat successful login as approval for all actions during the session.
- C
Deny access unless an explicit policy permits the request.
- D
Test both permitted and denied requests.
- E
Use network location as the sole basis for trusting a user or device.
Explain the difference among identity, authentication, and authorization. Include why successful sign-in does not by itself give a user access to every resource.
For a sensitive system change, one employee approves the change and another implements it. Which practice does this illustrate?
- A
Complete mediation
- B
Separation of critical duties
- C
Attribute-based access control
- D
Network segmentation
A system checks a user's authorization at sign-in, then reuses that decision for every later request to protected resources. Does this meet the principle of complete mediation?
- A
True
- B
False
A service requests permission to read a database record. In access-control terminology, what is the requesting service called?
A support analyst signs in successfully but is denied permission to view payroll data. Which access-control concept determines whether the analyst may read that resource?
- A
Identity
- B
Authorization
- C
Authentication
- D
Least privilege
An application cannot contact its authorization service and therefore cannot determine whether a user may access a sensitive record. Which response best follows the fail-secure principle?
- A
Grant access temporarily so users can continue working
- B
Reuse the most permissive decision made earlier
- C
Deny the request until an authorization decision can be made
- D
Allow access only if the request comes from the internal network
A cloud application generates reports from one dataset and does not need to change data or administer cloud resources. Which permission design best applies least privilege?
- A
Grant read access to the specific reporting dataset only
- B
Grant account-wide administrator access so it can handle future tasks
- C
Grant read and edit access to all datasets in case the report changes
- D
Share a powerful service account used by other workloads
An employee may view a case record only if assigned to that case and using an approved device. Which access-control model most directly supports a decision based on both conditions?
- A
Role-based access control, because permissions are assigned through job roles
- B
Attribute-based access control, because the decision uses case assignment and device attributes
- C
Complete mediation, because each request is checked
- D
Defense in depth, because multiple safeguards are combined
An organization assigns permissions to job roles, then grants employees access through their assigned roles. What access-control model is this?