Exam SAA-C03 All QuestionsBrowse all questions from this 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?

    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
rein_chauOption: B

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

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

SinaneosOption: B

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

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

fsp52Option: B

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.

ldruizsan

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.

awsgeek75Option: B

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

AndreshereOption: B

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.

WMF0187

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

According to them , Option C is correct how?

d4a117d

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.

ChymKuBoyOption: B

B for sure

OBIOHAnzeOption: D

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

lofzeeOption: B

B for sure

TruthWS

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

ManikRoyOption: B

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.

Rosy92Option: B

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.

anandavinashOption: B

B isa correct answer

A_jaaOption: B

B seems correct