CloudGuild · Blog · Cheat sheets · Lessons · Certifications
Decoupling Application Components with AWS Services
Learn how to choose the right AWS services to decouple application components for the SAA-C03 exam. Master key concepts and avoid traps.
Decoupling application components is a common hurdle for candidates during the AWS Certified Solutions Architect - Associate exam. Understanding which services serve this purpose can make or break your score.
The question
Which TWO AWS services are commonly used to decouple components of an application? (Choose two.)
A. Amazon SQS
B. Amazon SNS
C. Amazon EC2
D. Amazon EBS
Think before you scroll
Before selecting your answers, consider the purpose of each service. Some services focus on messaging, while others handle compute and storage. Think about how each service works in an architecture.
The answer
The correct options are A and B: Amazon SQS and Amazon SNS. Both services are designed specifically for decoupling application components through messaging.
Why the other options lose
Option C: Amazon EC2
Amazon EC2 is a compute service that provides virtual servers. While it is essential for running applications, it does not inherently decouple components. EC2 instances can communicate directly with each other, which does not align with the concept of decoupling.
Option D: Amazon EBS
Amazon EBS is a block storage service used with EC2 instances. Like EC2, it is not designed for decoupling. EBS provides storage that is directly attached to EC2 instances, allowing for tight coupling between storage and compute resources.
The concept behind it
Decoupling components of an application allows for better scalability and flexibility. Amazon SQS uses queues to manage messages between components, while Amazon SNS employs a publish/subscribe model to broadcast messages. Understanding these messaging patterns is crucial for designing resilient architectures.
Exam trap to remember
Remember: "Message services decouple, compute and storage do not." This rule will help you avoid common traps in similar questions.