0
0
AWScloud~20 mins

SNS notification types (email, SMS, Lambda) in AWS - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
SNS Notification Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
service_behavior
intermediate
2:00remaining
SNS Email Subscription Behavior
When an AWS SNS topic has an email subscription, what happens immediately after a message is published to the topic?
AThe message is sent directly to the email address without any confirmation.
BThe email address receives a confirmation request and must confirm before receiving messages.
CThe message is stored in an S3 bucket linked to the email subscription.
DThe email subscription triggers a Lambda function to send the message.
Attempts:
2 left
💡 Hint
Think about how SNS ensures the email owner wants to receive messages.
service_behavior
intermediate
2:00remaining
SNS SMS Message Delivery Limits
What is a key limitation when sending SMS messages via AWS SNS?
ASNS can send SMS messages only within the same AWS region as the topic.
BSNS requires a Lambda function to process SMS messages before sending.
CSNS SMS messages have a maximum size of 140 bytes and may be split if longer.
DSNS SMS messages can only be sent to phone numbers verified in the AWS account.
Attempts:
2 left
💡 Hint
Consider SMS message size limits in telecom.
Architecture
advanced
2:00remaining
SNS with Lambda Subscription Behavior
Which statement correctly describes what happens when an SNS topic has a Lambda function subscribed and a message is published?
ASNS invokes the Lambda function asynchronously immediately after publishing the message.
BSNS invokes the Lambda function synchronously and waits for the function to complete before returning.
CSNS stores the message in S3 and triggers Lambda asynchronously after a delay.
DSNS requires the Lambda function to poll the topic to receive messages.
Attempts:
2 left
💡 Hint
Think about how SNS triggers Lambda functions.
security
advanced
2:00remaining
Securing SNS Email Subscriptions
Which method best protects an SNS email subscription from unauthorized subscription requests?
AConfigure SNS to send messages only to verified email addresses in AWS SES.
BEnable server-side encryption on the SNS topic.
CRestrict SNS topic access using IAM policies only.
DUse subscription confirmation emails that require user action to activate.
Attempts:
2 left
💡 Hint
Think about how SNS confirms email ownership.
Best Practice
expert
3:00remaining
Designing Reliable SNS Notifications with Multiple Protocols
You want to ensure that a critical alert message sent via SNS reaches both an email recipient and triggers a Lambda function. Which design approach ensures the highest reliability and fault tolerance?
ACreate one SNS topic with both email and Lambda subscriptions; rely on SNS retry policies for failures.
BCreate separate SNS topics for email and Lambda; publish the message twice from your application.
CUse one SNS topic with email subscription only; Lambda polls the email inbox for messages.
DSend the email and invoke the Lambda function directly from your application, bypassing SNS.
Attempts:
2 left
💡 Hint
Consider SNS built-in retry and fan-out capabilities.