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

A solutions architect is designing the cloud architecture for a new application being deployed on AWS. The process should run in parallel while adding and removing application nodes as needed based on the number of jobs to be processed. The processor application is stateless. The solutions architect must ensure that the application is loosely coupled and the job items are durably stored.
Which design should the solutions architect use?

  • A. Create an Amazon SNS topic to send the jobs that need to be processed. Create an Amazon Machine Image (AMI) that consists of the processor application. Create a launch configuration that uses the AMI. Create an Auto Scaling group using the launch configuration. Set the scaling policy for the Auto Scaling group to add and remove nodes based on CPU usage.
  • B. Create an Amazon SQS queue to hold the jobs that need to be processed. Create an Amazon Machine Image (AMI) that consists of the processor application. Create a launch configuration that uses the AMI. Create an Auto Scaling group using the launch configuration. Set the scaling policy for the Auto Scaling group to add and remove nodes based on network usage.
  • C. Create an Amazon SQS queue to hold the jobs that need to be processed. Create an Amazon Machine Image (AMI) that consists of the processor application. Create a launch template that uses the AMI. Create an Auto Scaling group using the launch template. Set the scaling policy for the Auto Scaling group to add and remove nodes based on the number of items in the SQS queue.
  • D. Create an Amazon SNS topic to send the jobs that need to be processed. Create an Amazon Machine Image (AMI) that consists of the processor application. Create a launch template that uses the AMI. Create an Auto Scaling group using the launch template. Set the scaling policy for the Auto Scaling group to add and remove nodes based on the number of messages published to the SNS topic.
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
DK2
Highly Voted 3 years, 3 months ago
C is correct. You want to scale this application based on # of messages in SQS.
upvoted 68 times
aguy9
3 years, 2 months ago
Yes I agree, it’s C
upvoted 5 times
...
...
foreverlearner
Highly Voted 3 years, 3 months ago
C correct. The metric you need to monitor is ApproximateNumberOfMessages
upvoted 27 times
...
mohamed84
Most Recent 2 years, 2 months ago
Selected Answer: C
Selected Answer: C
upvoted 1 times
...
Wei_JK
2 years, 4 months ago
Selected Answer: C
CCCCCCCCCC
upvoted 1 times
...
slcheng
2 years, 4 months ago
Selected Answer: C
Agreed with C
upvoted 1 times
...
weilun_tann
2 years, 12 months ago
Selected Answer: C
- C - A and B are wrong. Launch configurations are not recommended. Launch templates are preferred - D is wrong. SNS is for sending notifications
upvoted 4 times
...
gargaditya
3 years, 1 month ago
"loosely connected" indicates SQS 'tasks' indicates ECS cluster (further 'state is not maintained' indicated ECS) SNS will publish a job received to multiple subscribers,we dont want same job to go to multiple instances for processing So A and D are out 'number of jobs to be handled dictating the number of applciation nodes added or removed'-->has to do autoscaling based on no of items not network
upvoted 8 times
gargaditya
3 years, 1 month ago
Answer is C
upvoted 1 times
...
...
sandeep138
3 years, 1 month ago
What is the difference between "hold the jobs" vs "send the jobs"?
upvoted 1 times
...
karthisena
3 years, 1 month ago
CORRECT: "Create an Amazon SQS queue to hold the jobs that needs to be processed. Create an Amazon EC2 Auto Scaling group for the compute application. Set the scaling policy for the Auto Scaling group to add and remove nodes based on the number of items in the SQS queue" is the correct answer. Explanation: In this case we need to find a durable and loosely coupled solution for storing jobs. Amazon SQS is ideal for this use case and can be configured to use dynamic scaling based on the number of jobs waiting in the queue.To configure this scaling you can use the backlog per instance metric with the target value being the acceptable backlog per instance to maintain. You can calculate these numbers as follows: Backlog per instance: To calculate your backlog per instance, start with the ApproximateNumberOfMessages queue attribute to determine the length of the SQS queue
upvoted 7 times
...
woke
3 years, 1 month ago
C is correct
upvoted 4 times
...
suhanda
3 years, 1 month ago
C vs D (SQS vs SNS) It's a standard practice to scale based on SQS length and not based on SNS's NumberOfMessagesPublished. Thus, I would go for C.
upvoted 5 times
...
Gupshup
3 years, 2 months ago
loosely coupled -> SQS, based on number of jobs -> number of item in SQS queue
upvoted 5 times
...
Abdullah777
3 years, 2 months ago
C correct. the autoscale should be based on number of items in SQS queue not network usage.
upvoted 2 times
...
syu31svc
3 years, 2 months ago
C for correct SQS helps design a loosely coupled architecture with an ability to store the message durably. Auto Scaling Group with target scaling policy based on the number of items in SQS would help scale the application nodes as per the demand.
upvoted 2 times
...
KK_uniq
3 years, 2 months ago
C for sure
upvoted 1 times
...
mryala
3 years, 2 months ago
it's C
upvoted 1 times
...
Yogi
3 years, 2 months ago
Ans = 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