Lesson 27 of 36 · see all lessons
Start here: cloud concepts (domain 1, 24%)
- 1. Start here: the exam, the plan and what you already know
- 2. What the cloud is: benefits, service models and deployment models
- 3. AWS global infrastructure: Regions, Availability Zones and edge locations
- 4. Cloud economics: what you pay for on-premises vs in the cloud
- 5. The AWS Well-Architected Framework: six pillars
- 6. Moving to AWS: the Cloud Adoption Framework and migration strategies
Security and identity (domain 2, 30%)
- 7. The shared responsibility model: who secures what
- 8. IAM basics: users, groups, roles and policies
- 9. Protecting the root user, MFA and credentials
- 10. Identity at scale: IAM Identity Center, federation and cross-account access
- 11. Encryption and keys: protecting data at rest and in transit
- 12. Threat protection: Shield, WAF, GuardDuty, Inspector and Security Hub
Governance, ways of working and compute (domains 2 and 3)
- 13. Logging, auditing and compliance: CloudWatch, CloudTrail, Config and Artifact
- 14. Governing many accounts: Organizations, Control Tower and Service Catalog
- 15. Ways to use AWS: console, CLI, SDKs and infrastructure as code
- 16. Amazon EC2: virtual servers and instance types
- 17. Elasticity: Auto Scaling and Elastic Load Balancing
- 18. Containers and serverless: ECS, EKS, Fargate, Lambda and more
Storage, databases and networking (domain 3, 34%)
- 19. Block and file storage: EBS, instance store, EFS and FSx
- 20. Amazon S3: buckets, storage classes and lifecycle policies
- 21. Hybrid storage, backup and disaster recovery
- 22. Databases: RDS, Aurora, DynamoDB, ElastiCache and more
- 23. Networking: VPCs, subnets, gateways and security layers
- 24. Connecting and delivering: Route 53, CloudFront, VPN and Direct Connect
Analytics, AI, integration and more (domain 3)
Billing, pricing and support, then exam practice (domain 4, 12%)
- 29. Pricing models: On-Demand, Savings Plans, Reserved, Spot and Dedicated
- 30. Billing and cost tools: Budgets, Cost Explorer, Pricing Calculator and tags
- 31. AWS Support plans, Trusted Advisor and where to get help
- 32. Final review and exam day: every decision on one page
- 33. Mock exam 1
- 34. Mock exam 2 Exam Pack · $12
Extra practice: mock exams 3 and 4
18 min
App integration and business apps: SQS, SNS, EventBridge, Connect and SES
Decouple apps with queues, notifications and events, and pick business services for contact centers and email.
By the end of this lesson you can
- Explain loose coupling and why it makes systems more reliable
- Choose between SQS, SNS, EventBridge and Step Functions for a scenario
- Pick Amazon Connect for a contact center and Amazon SES for customer email
- Spot the deciding word: buffer, notify, route, orchestrate
From earlier lessons · 1 of 2
Cedar Lane Books wants its app to read order updates aloud to customers in a natural voice. Which service does this?
Pick one answer.
From earlier lessons · 2 of 2
Which service builds, trains and deploys custom machine learning models?
Pick one answer.
Black Friday, 9:02 a.m. Cedar Lane Books' website hands each order straight to the order system. The order system slows down, then stops. Every order sent in the next ten minutes is simply gone. The website was fine; it just had nowhere to put the work.
Loose coupling: stop one failure from spreading
Exam depth: know it cold.
In a tightly coupled system, parts call each other directly. If one part slows or fails, the parts that depend on it fail too.
In a loosely coupled system, parts talk through a go-between, such as a queue or an event router. Each part only needs to know the go-between. So a failure in one part stays in that part, and you can change or scale each part on its own.
The Well-Architected reliability pillar recommends loose coupling for exactly this reason. On the exam, "decouple" is a strong hint that the answer is SQS, SNS or EventBridge.
Watch it happen · 13 s
Black Friday with a queue in the middle
The website and the order worker never call each other. They share only a queue.
Amazon SQS: a queue that holds the work
Exam depth: know it cold.
Amazon Simple Queue Service (Amazon SQS) is a fully managed message queue. A producer sends messages to the queue. A consumer pulls them off when it's ready, processes each one, then deletes it.
- It buffers work, so spikes don't overwhelm the consumer.
- Messages wait up to 4 days by default, and you can raise that to 14 days.
- Each message is handled by one consumer.
Two queue types, at recognize depth:
| Standard queue | FIFO queue | |
|---|---|---|
| Order | Best-effort order. | Strict first-in, first-out order. |
| Delivery | At least once; duplicates possible. | Exactly-once processing. |
| Throughput | Nearly unlimited. | Lower, with high-throughput options. |
Decision rule: "buffer", "decouple" or "process later" points to SQS. "Order matters" adds FIFO.
Cedar Lane Books wants the website to keep accepting orders even when the order-processing system is slow or down. Orders must wait until they can be processed. Which AWS service meets this requirement?
Pick one answer.
Amazon SNS: one message, many subscribers
Exam depth: know it cold.
Amazon Simple Notification Service (Amazon SNS) is fully managed publish/subscribe messaging. A publisher sends one message to a topic. SNS pushes a copy to every subscriber of that topic.
Subscribers can be people or systems:
- People: email, SMS text messages, mobile push notifications.
- Systems: SQS queues, Lambda functions, HTTPS endpoints, Amazon Data Firehose.
The classic use is alerts. An Amazon CloudWatch alarm can send a notification to an SNS topic when a metric crosses a threshold. SNS then emails or texts the on-call team.
Decision rule: "notify", "alert" or "send to many subscribers at once" points to SNS.
When the website's error rate passes a threshold, the operations team must get an email and a text message right away. A CloudWatch alarm already watches the error rate. Which service should the alarm notify?
Pick one answer.
Amazon EventBridge: route events by rules
Exam depth: know it cold.
An event is a record that something happened: "order placed", "file uploaded", "instance stopped".
Amazon EventBridge is a serverless service that connects parts of an app with events. Its event bus receives events from three kinds of source:
- AWS services, such as an EC2 instance changing state.
- Your own apps, such as the order system.
- SaaS partner apps, meaning software you rent from other companies.
Rules match events and send them to targets, such as a Lambda function or an SQS queue. EventBridge Scheduler also runs tasks on a schedule, once or on a repeating pattern.
Decision rule: "react to events", "route by rules", "SaaS events" or "run on a schedule" points to EventBridge.
AWS Step Functions: run the steps in order
Exam depth: recognize it.
AWS Step Functions builds workflows, also called state machines. Each step is a state, such as "charge the card" or "reserve the stock". Step Functions calls other AWS services, such as Lambda, for each step and keeps track of where every run is.
You see the workflow as a diagram in the console, and you can watch each run step by step. Use it to orchestrate multi-step processes, including long-running ones that wait for a person to approve.
Decision rule: "coordinate several steps in order" or "visual workflow" points to Step Functions.
A company wants events from its SaaS payment provider and from its own apps to trigger different AWS targets based on rules. Which service meets these requirements with the LEAST operational overhead?
Pick one answer.
Business apps: Amazon Connect and Amazon SES
Exam depth: know it cold.
- Amazon Connect is a cloud contact center. It gives customers voice, chat, chatbots, SMS and email, and routes each contact to the right agent. Supervisors get real-time reports. You pay only for what you use, with no phone hardware to buy.
- Amazon Simple Email Service (Amazon SES) sends and receives email using your own addresses and domains. Use it for transactional email, such as order confirmations, and marketing email, such as special offers and newsletters, at scale.
Decision rule: "call center" or "contact center" points to Connect. "Email customers at scale" points to SES.
Decision table: which integration or business service?
| The question says | Pick |
|---|---|
| "buffer", "queue", "decouple", "process when ready". | Amazon SQS. |
| "order must be kept", "no duplicates". | Amazon SQS FIFO queue. |
| "alert", "notify", "SMS", "push to many subscribers". | Amazon SNS. |
| "react to events", "route by rules", "SaaS events", "schedule". | Amazon EventBridge. |
| "coordinate steps", "workflow", "state machine". | AWS Step Functions. |
| "contact center", "call center", "agents". | Amazon Connect. |
| "email customers", "newsletter", "order confirmation email". | Amazon SES. |
Exam-style practice
Cedar Lane Books wants to send order confirmation emails and a monthly newsletter from its own domain to 200,000 customers. Which AWS service should it use?
Pick one answer.
A company wants to replace its office phone system with a cloud contact center where agents answer calls and chats. It wants no upfront hardware. Which service meets these requirements?
Pick one answer.
A returns process has five steps that must run in order, including a wait for a manager's approval. The company wants to see each run as a visual workflow. Which AWS service fits?
Pick one answer.
Worth keeping
- Loose coupling keeps one failure from spreading; "decouple" points to SQS, SNS or EventBridge.
- Buffer work: SQS. Alert people or fan out: SNS. React to events by rules: EventBridge. Run steps in order: Step Functions.
- SQS consumers pull; SNS pushes to every subscriber.
- Contact center: Amazon Connect. Customer email at scale: Amazon SES.
On the job
Next Black Friday, Cedar Lane Books' orders go into an SQS queue first. When the order system stalls for six minutes, the queue simply grows, and every order is processed once it recovers. SNS texts the on-call engineer, and SES sends each customer a confirmation.
Project managers hear "we should decouple this" in design meetings. Now you know what it buys: one slow part no longer takes the whole business down.
The order system is safe. Now the developers want to ship changes without breaking it, staff want desktops they can reach from home, and the warehouse scanners need a cloud connection. Next lesson: developer tools, end-user computing, Amplify and IoT.
Leaderboard
Loading…
50 XP for each lesson you finish, 10 for each right answer. Names show only for learners who turn on Show me on leaderboards.
Embed this practice on your site
Free for classrooms, blogs and study groups. Paste this into any page that accepts HTML.
Report a copyright problem with this lesson
Sources for this lesson (14)
Each fact in the lesson is marked with the number of the page it comes from.
- [4]AWS: CLF-C02 Content Domain 3: Cloud Technology and Services
- [7]AWS: CLF-C02 Out-of-Scope AWS Services
- [314]AWS: REL04-BP02 Implement loosely coupled dependencies
- [315]AWS: What is Amazon Simple Queue Service?
- [316]AWS: Amazon SQS queue types
- [317]AWS: What is Amazon SNS?
- [318]AWS: Using Amazon CloudWatch alarms
- [319]AWS: What Is Amazon EventBridge?
- [320]AWS: Event buses in Amazon EventBridge
- [321]AWS: What is Amazon EventBridge Scheduler?
- [322]AWS: What is Step Functions?
- [323]AWS: What is Connect Customer?
- [324]AWS: What is Amazon SES?
- [325]AWS: Amazon EventBridge targets