Bird
0
0

A microservice uses OAuth 2.0 for authentication. What is the expected output when a client sends a valid access token?

medium📝 Analysis Q4 of 15
Cybersecurity - Security Architecture and Design
A microservice uses OAuth 2.0 for authentication. What is the expected output when a client sends a valid access token?
AService crashes with error code 500
BAccess denied due to invalid credentials
CRequest is redirected to login page
DAccess granted to requested resources
Step-by-Step Solution
Solution:
  1. Step 1: Understand OAuth 2.0 token validation

    OAuth 2.0 grants access when a valid token is presented by the client.
  2. Step 2: Determine expected behavior with valid token

    The service should allow access, not deny or crash, when token is valid.
  3. Final Answer:

    Access granted to requested resources -> Option D
  4. Quick Check:

    Valid OAuth token = Access granted [OK]
Quick Trick: Valid token means access allowed [OK]
Common Mistakes:
MISTAKES
  • Assuming valid token causes denial
  • Expecting service crash on valid token
  • Thinking valid token redirects to login

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Cybersecurity Quizzes