SAA-C03 Exam QuestionsBrowse all questions from this exam

SAA-C03 Exam - Question 8


A company is migrating a distributed application to AWS. The application serves variable workloads. The legacy platform consists of a primary server that coordinates jobs across multiple compute nodes. The company wants to modernize the application with a solution that maximizes resiliency and scalability.

How should a solutions architect design the architecture to meet these requirements?

Show Answer
Correct Answer: B

To address the variable workloads and maximize both resiliency and scalability, the best approach involves using Amazon Simple Queue Service (Amazon SQS) as a buffer for the jobs. This decouples the primary server from the compute nodes, making the system more resilient. By implementing the compute nodes with EC2 instances managed by an Auto Scaling group and configuring scaling based on the size of the SQS queue, the system can dynamically adjust the number of instances according to the workload. This ensures that the infrastructure scales out to handle peak loads and scales in during periods of lower activity, providing cost efficiency and enhancing responsiveness to workload changes.

Discussion

17 comments
Sign in to comment
rein_chauOption: B
Oct 8, 2022

A - incorrect: Schedule scaling policy doesn't make sense. C, D - incorrect: Primary server should not be in same Auto Scaling group with compute nodes. B is correct.

Wilson_S
Nov 10, 2022

https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-using-sqs-queue.html

SinaneosOption: B
Oct 8, 2022

The answer seems to be B for me: A: doesn't make sense to schedule auto-scaling C: Not sure how CloudTrail would be helpful in this case, at all. D: EventBridge is not really used for this purpose, wouldn't be very reliable

lixepOption: C
May 21, 2024

In option C, Ignore the line that's talking about cloud trail and then the answer would make much more sense.

AndreshereOption: B
Jan 8, 2024

SQS helps to process messages in case of variable workloads. The compute nodes must be implemented using EC2 instances (or alternatively, ECS tasks or managed Kubernetes nodes, but this option is not available). AutoScaling must be based on the workload, which is controlled by the queue. So, the correct option is B. A is not correct because the instances should not scale based on a schedule which is not deterministic. On the contrary, scales based on the workload (queue size) is more effective. AWS CloudTrail should not be used as a destination job and it is not related to the question. The same applies to EventBridge.

awsgeek75Option: B
Jan 13, 2024

SQS + EC2 scaling based on size of queue is best solution

ldruizsan
Feb 13, 2024

Not sure how CloudTrail would be useful when the requirement is that the solution be resilient and scalable. You build resiliency by decoupling workflows use SQS and then using that queue size as the metric by which to scale the Auto Scaling groups. CloudTrail is for logging and visibility of resources and shouldn't be used for jobs.

fsp52Option: B
Feb 28, 2024

This option leverages Amazon SQS to decouple the primary server from the compute nodes, ensuring resiliency and scalability. The compute nodes can be managed in an Auto Scaling group, scaling based on the size of the SQS queue, which reflects the workload. This design allows the system to handle variable workloads efficiently while maximizing scalability and resiliency.

A_jaaOption: B
Jan 13, 2024

B seems correct

anandavinashOption: B
Feb 20, 2024

B isa correct answer

Rosy92Option: B
Feb 28, 2024

the correct solution is B, because in the requirement is said "the application serves variable workloads" and we need to decouple monolithic infrastructure here so this required SQS.

ManikRoyOption: B
Mar 25, 2024

Correct option B. SQS is used to decouple the distributed architecture (primary server and compute nodes). Scheduled auto scaling doesn't make sense as the workload is variable, so based on size of the queue is the correct option.

TruthWS
Mar 26, 2024

B is correct because we need auto scaling, and a value to scaling

lofzeeOption: B
Apr 20, 2024

B for sure

OBIOHAnzeOption: D
May 23, 2024

option D leverages serverless services (EventBridge) and Auto Scaling for a modern, scalable, and resilient architecture suitable for the distributed application with varying workloads.

ChymKuBoyOption: B
Jun 5, 2024

B for sure

d4a117d
Jun 23, 2024

Por que a Opção C é Correta: Auto Scaling Baseado na Carga do Servidor Primário: Esta abordagem permite que o Auto Scaling responda diretamente à carga de trabalho real, ajustando o número de instâncias EC2 conforme necessário para atender à demanda. EC2 Gerenciadas em Grupo do Auto Scaling: Utilizar Auto Scaling garante que o sistema possa se adaptar automaticamente às variações na carga de trabalho, mantendo a resiliência ao substituir instâncias falhas ou com problemas. AWS CloudTrail como Destino para os Trabalhos: Embora CloudTrail seja principalmente para auditoria e trilha de log de eventos, seu uso aqui pode estar relacionado a requisitos específicos da empresa, possivelmente para rastrear quem ou o que está iniciando alterações de escala.

WMF0187
Jul 12, 2024

B: Explanation: Amazon SQS provides a reliable, highly scalable, and fully managed message queuing service that enables you to decouple and coordinate the components of a distributed application. EC2 Auto Scaling allows you to automatically adjust the number of EC2 instances based on demand, ensuring that your application can handle variable workloads efficiently. Auto Scaling based on the size of the queue ensures that your application scales out when there are many jobs to process and scales in when the job load decreases, providing cost efficiency and responsiveness to workload changes.

abdulghaffar
Jul 16, 2024

According to them , Option C is correct how?