AWS SAP-C02 · Question 59 · Domain 2.4: Reliability
A company is building a serverless application using AWS AppSync (GraphQL), AWS Lambda, and Amazon DynamoDB. The application allows users to post messages. The company wants to implement real-time updates so that when a user posts a message, all other users viewing the application see the new message instantly without refreshing the page. They also want to ensure that users can only see messages in channels they are authorized to access. Which combination of features should be used? (Select TWO)
A company is building a serverless application using AWS AppSync (GraphQL), AWS Lambda, and Amazon DynamoDB. The application allows users to post messages. The company wants to implement real-time updates so that when a user posts a message, all other users viewing the application see the new message instantly without refreshing the page. They also want to ensure that users can only see messages in channels they are authorized to access. Which combination of features should be used? (Select TWO)
Answer options:
Use AWS AppSync Subscriptions to push real-time updates to connected clients.
Implement AWS AppSync resolvers with Amazon Cognito User Pools for authorization checks.
Use Amazon API Gateway WebSockets to manage the real-time connections.
Use Amazon SNS to send push notifications to the web browsers.
Configure DynamoDB Streams to trigger a Lambda function that updates the clients.
Use AWS IAM roles attached to the client browsers to authorize access to channels.
How to approach this question
Full Answer
Common mistakes
Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5
75 questions · hints · full answers · grading
Expert