exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 285 discussion

A company hosts a blog post application on AWS using Amazon API Gateway, Amazon DynamoDB, and AWS Lambda. The application currently does not use API keys to authorize requests. The API model is as follows:

GET /posts/{postId}: to get post details
GET /users/{userId}: to get user details
GET /comments/{commentId}: to get comments details

The company has noticed users are actively discussing topics in the comments section, and the company wants to increase user engagement by making the comments appear in real time.

Which design should be used to reduce comment latency and improve user experience?

  • A. Use edge-optimized API with Amazon CloudFront to cache API responses.
  • B. Modify the blog application code to request GET/comments/{commentId} every 10 seconds.
  • C. Use AWS AppSync and leverage WebSockets to deliver comments.
  • D. Change the concurrency limit of the Lambda functions to lower the API response time.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Alabi
Highly Voted 1 year, 4 months ago
Selected Answer: C
Option C (Use AWS AppSync and leverage WebSockets to deliver comments) is the most appropriate solution for real-time comments. AWS AppSync is a fully managed service that simplifies real-time data synchronization and offline capabilities for applications. It supports WebSockets, which enables real-time communication between clients and the server. By leveraging AppSync and WebSockets, the comments can be delivered instantly to users as they are posted, reducing comment latency and improving user engagement.
upvoted 8 times
...
NikkyDicky
Highly Voted 1 year, 4 months ago
Selected Answer: C
C. websockets ==realtime
upvoted 6 times
...
kejam
Most Recent 9 months, 2 weeks ago
Selected Answer: C
Answer C: https://docs.aws.amazon.com/appsync/latest/devguide/aws-appsync-real-time-data.html
upvoted 3 times
...
SmileyCloud
1 year, 4 months ago
Selected Answer: C
C - Correct. https://advancedweb.hu/real-time-data-with-appsync-subscriptions/
upvoted 1 times
...
shree2023
1 year, 4 months ago
Selected Answer: C
C is correct others are not real time and cost effective
upvoted 2 times
...
gd1
1 year, 4 months ago
Selected Answer: C
AWS AppSync is a managed service that uses GraphQL to make it easy for applications to get exactly the data they need. With AppSync, you can build scalable applications, including those requiring real-time updates, on a range of data sources such as NoSQL data stores, relational databases, HTTP APIs, and your custom data sources with AWS Lambda.
upvoted 3 times
...
psyx21
1 year, 4 months ago
Selected Answer: C
Correct Answer is C
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago