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 180 discussion

A company runs a processing engine in the AWS Cloud. The engine processes environmental data from logistics centers to calculate a sustainability index. The company has millions of devices in logistics centers that are spread across Europe. The devices send information to the processing engine through a RESTful API.

The API experiences unpredictable bursts of traffic. The company must implement a solution to process all data that the devices send to the processing engine. Data loss is unacceptable.

Which solution will meet these requirements?

  • A. Create an Application Load Balancer (ALB) for the RESTful API. Create an Amazon Simple Queue Service (Amazon SQS) queue. Create a listener and a target group for the ALB Add the SQS queue as the target. Use a container that runs in Amazon Elastic Container Service (Amazon ECS) with the Fargate launch type to process messages in the queue.
  • B. Create an Amazon API Gateway HTTP API that implements the RESTful API. Create an Amazon Simple Queue Service (Amazon SQS) queue. Create an API Gateway service integration with the SQS queue. Create an AWS Lambda function to process messages in the SQS queue.
  • C. Create an Amazon API Gateway REST API that implements the RESTful API. Create a fleet of Amazon EC2 instances in an Auto Scaling group. Create an API Gateway Auto Scaling group proxy integration. Use the EC2 instances to process incoming data.
  • D. Create an Amazon CloudFront distribution for the RESTful API. Create a data stream in Amazon Kinesis Data Streams. Set the data stream as the origin for the distribution. Create an AWS Lambda function to consume and process data in the data stream.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
momo3321
Highly Voted 1 year, 11 months ago
Selected Answer: B
Option A is incorrect because Application Load Balancer (ALB) can't directly target an Amazon SQS queue. Option C is incorrect because while Amazon API Gateway and EC2 Auto Scaling can handle high loads, they don't provide a built-in mechanism to ensure that all messages are processed without loss. Option D is incorrect because Amazon CloudFront is a content delivery network (CDN), and it is not typically used to handle incoming API requests. It is primarily used to cache and deliver content to users.
upvoted 20 times
...
bjexamprep
Highly Voted 1 year, 4 months ago
Selected Answer: B
In real life, I wouldn't trust SQS to handle such large amount of data.
upvoted 6 times
...
altonh
Most Recent 2 months ago
Selected Answer: D
A - SQS as an ALB target is wrong B - Cannot integrate an AWS service using an HTTP API Gateway C - Data cannot be passed to EC2 because the integrated AWS service is an ASG.
upvoted 1 times
...
vip2
9 months, 3 weeks ago
Selected Answer: B
Restful API is not REST API, so HTTP API-GW + SQS
upvoted 2 times
jAtlas7
5 months ago
REST APIs and HTTP APIs are both RESTful API products. Ref: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-vs-rest.html
upvoted 1 times
...
...
nzin4x
1 year, 1 month ago
but normally API gateway can not handle high burst request. it will make 429 too many requests error.
upvoted 2 times
...
career360guru
1 year, 5 months ago
Selected Answer: B
Option B
upvoted 1 times
...
career360guru
1 year, 5 months ago
Selected Answer: B
Option B
upvoted 1 times
...
severlight
1 year, 5 months ago
Selected Answer: B
yes you can integrate API Gateway HTTP Api with SQS
upvoted 2 times
...
SK_Tyagi
1 year, 8 months ago
Selected Answer: B
KDS need to implement Sharding for unpredictable bursts
upvoted 1 times
...
rxhan
1 year, 9 months ago
Similar to #179
upvoted 1 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: B
B is right
upvoted 1 times
...
Roontha
1 year, 11 months ago
Answer : B
upvoted 1 times
...
rbm2023
1 year, 11 months ago
Selected Answer: B
I agree with B https://aws.amazon.com/blogs/architecture/things-to-consider-when-you-build-rest-apis-with-amazon-api-gateway/ This pattern can decouple the data ingestion from the data processing. "you should look for opportunities to design an asynchronous, loosely coupled architecture. A decoupled architecture separates the data ingestion from the data processing and allows you to scale each system separately"
upvoted 2 times
...
AMEJack
1 year, 11 months ago
Selected Answer: B
Kinesis DataStreams can't be the origin for the CloudFront
upvoted 2 times
...
mrfretz
2 years ago
Selected Answer: D
Kinesis retention
upvoted 1 times
...
mrfretz
2 years ago
Selected Answer: B
Kinesis retention
upvoted 1 times
mrfretz
2 years ago
Answer D, sorry typo
upvoted 1 times
...
...
Sarutobi
2 years ago
B is the best option.
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