exam questions

Exam AWS Certified Solutions Architect - Associate SAA-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Associate SAA-C02 exam

Exam AWS Certified Solutions Architect - Associate SAA-C02 topic 1 question 537 discussion

An ecommerce company needs to run a scheduled daily job to aggregate and filter sales records for analytics. The company stores the sales records in an
Amazon S3 bucket. Each object can be up to 10 GB in size. Based on the number of sales events, the job can take up to an hour to complete. The CPU and memory usage of the job are constant and are known in advance.
A solutions architect needs to minimize the amount of operational effort that is needed for the job to run.
Which solution meets these requirements?

  • A. Create an AWS Lambda function that has an Amazon EventBridge (Amazon CloudWatch Events) notification. Schedule the EventBridge (CloudWatch Events) event to run once a day.
  • B. Create an AWS Lambda function. Create an Amazon API Gateway HTTP API, and integrate the API with the function. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that calls the API and invokes the function.
  • C. Create an Amazon Elastic Container Service (Amazon ECS) cluster with an AWS Fargate launch type. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that launches an ECS task on the cluster to run the job.
  • D. Create an Amazon Elastic Container Service (Amazon ECS) cluster with an Amazon EC2 launch type and an Auto Scaling group with at least one EC2 instance. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that launches an ECS task on the cluster to run the job.
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
weilun_tann
Highly Voted 3 years, 5 months ago
Selected Answer: C
- C - A and B are wrong. "work might take up to an hour", hence Lambda (with 15mins execution limit) is wrong - D is wrong. "reduce the amount of operational work", hence Fargate (serverless) is preferred over EC2 (self-managed instances) launch type
upvoted 36 times
Robert_B
3 years, 4 months ago
exactly!
upvoted 3 times
...
...
thehaohcm
Highly Voted 3 years, 5 months ago
based on this statement: "The work might take up to an hour to complete depending on the amount of sales events" => rule out A and B which mention Lambda because of limitation 15 minutes for executing Between C and D, the question also says "The job's CPU and memory requirements are consistent and known in advance", it means that we don't need an auto scaling group which would increase/decrease EC2 resources => rule out D => My answer is C
upvoted 13 times
...
queen101
Most Recent 2 years, 10 months ago
CCCCCCCCCCCCCC
upvoted 1 times
...
Janan
2 years, 10 months ago
Selected Answer: C
ECS and Fargate are the right options. Lambda won't work as the job is more than 16 mjns
upvoted 1 times
...
marklovesaws143
2 years, 10 months ago
Selected Answer: C
CCCCCCCCCCCC
upvoted 2 times
...
slcheng
2 years, 11 months ago
Selected Answer: C
Vote C.
upvoted 1 times
...
sayed
3 years, 4 months ago
C The work might take up to an hour to complete depending on the amount of sales events: so A&B is out lambda is for 15 minutes only D is out because of less operation required and CPU and memory is known
upvoted 1 times
...
momedkri117
3 years, 4 months ago
Selected Answer: C
It's c , no doubt
upvoted 1 times
...
Alejandroq3a
3 years, 4 months ago
Selected Answer: C
C is the correct answer
upvoted 1 times
...
vasanik
3 years, 4 months ago
Selected Answer: C
lambda can't execute function more than 15minutes its suggested to use fargate for long running quries.
upvoted 2 times
...
downlinkvip
3 years, 5 months ago
C: Correct, less operation and when you have "The job's CPU and memory requirements are consistent and known in advance". You can use Fargate mode (choose CPU, memory size when set the task definition)/.
upvoted 2 times
...
jj22222
3 years, 5 months ago
C - less operational work too
upvoted 1 times
...
Vishalkarande
3 years, 5 months ago
C is correct lamda can work for 15min
upvoted 1 times
...
Spacer
3 years, 5 months ago
An hour to complete task so exclude A and B. Reduce operation work exclude D. So answer is C.
upvoted 1 times
...
kamino
3 years, 5 months ago
For me it is C answer as the job take up to on hour (incompatible with Lambda) and the job worload is predictable so could be scheduled
upvoted 5 times
...
muhsin
3 years, 5 months ago
the answer is C.
upvoted 3 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 ...