CloudGuild · Blog · Cheat sheets · Lessons · Certifications

Designing Secure User Authentication in AWS

Learn how to effectively implement user authentication and authorization in AWS for your web applications with this exam question walkthrough.

Designing secure user authentication trips many candidates during the AWS Certified Solutions Architect - Associate exam. Knowing the right services to pair together is crucial for a secure architecture.

The question

You are designing a web application that includes a public-facing frontend and a backend API. The application needs to authenticate users and authorize access to specific resources. What is the best approach to implement this securely in AWS?

Think before you scroll

Before choosing an answer, consider which options provide both user authentication and resource authorization. Look for a solution that integrates these functions securely and effectively.

The answer

The correct option is A. Use Amazon Cognito for user authentication and AWS API Gateway for authorization. Amazon Cognito specializes in user authentication and works seamlessly with AWS API Gateway to manage authorization. This combination ensures secure access management for your application.

Why the other options lose

The concept behind it

The principle here is the combination of services that provide both authentication and authorization. Amazon Cognito handles user sign-up, sign-in, and access control, while AWS API Gateway can enforce these permissions when users attempt to access backend resources. Understanding how these services work together is crucial for secure application design in AWS.

Exam trap to remember

Always remember: use the right services for the right tasks. Authentication and authorization require specific solutions, like Cognito and API Gateway, to ensure security in AWS applications.

Take the free SAA-C03 mock exam

Take a free mock exam →