본문 바로가기

aws

AWS Associate SAA-C03 덤프 문항 풀이

728x90
반응형

영어로 공부하고 한글로 시험보기 때문에 둘 다 정리할 것임

 

A company is building an ecommerce web application on AWS. The application sends information about new orders to an Amazon API Gateway REST API 
to process. The company wants to ensure that orders are processed in the order that they are received. Which solution will meet these requirements?

A. Use an API Gateway integration to publish a message to an Amazon Simple Notification Service (Amazon SNS) topic when the application receives an order. Subscribe an AWS Lambda function to the topic to perform processing.
B. Use an API Gateway integration to send a message to an Amazon Simple Queue Service (Amazon SQS) FIFO queue when the application receives an order. Configure the SQS FIFO queue to invoke an AWS Lambda function for processing. 
C. Use an API Gateway authorizer to block any requests while the application processes an order.
D. Use an API Gateway integration to send a message to an Amazon Simple Queue Service (Amazon SQS) standard queue when the application receives an order. Configure the SQS standard queue to invoke an AWS Lambda function for processing.

답) B

REST API 순서를 보장받으려고 할때 어떤 서비를 사용하는 것이 좋은지 물어보는 문제

댓글에 모두 FIFO가 되는 SQS를 사용해야한다고 한다. 

 

 

A company is running an SMB file server in its data center. The file server stores large files that are accessed frequently for the first few days after the files are created. After 7 days the files are rarely accessed.
The total data size is increasing and is close to the company's total storage capacity. A solutions architect must increase the company's available storage space without losing low-latency access to the most recently accessed files. The solutions architect must also provide file lifecycle management to avoid future storage issues.
Which solution will meet these requirements?

A. Use AWS DataSync to copy data that is older than 7 days from the SMB file server to AWS.
B. Create an Amazon S3 File Gateway to extend the company's storage space. Create an S3 Lifecycle policy to transition the data to S3 Glacier Deep Archive after 7 days.
C. Create an Amazon FSx for Windows File Server file system to extend the company's storage space.
D. Install a utility on each user's computer to access Amazon S3. Create an S3 Lifecycle policy to transition the data to S3 Glacier Flexible Retrieval after 7 days.

답) B

 

SMB 파일서버를 대체할 수 있는 솔루션을 찾아야하는 문제

조건 

1) 파일들은 생성된 초기 7일 동안 많이 접근되고, 그 이후에는 rarely 하게 접근됨

2) 파일 접근에 대한 low-latency를 유지해야함

3) future storage issue에 대비해야함

 

풀이)

사용자 또는 팀 파일 공유 및 파일 기반 애플리케이션 마이그레이션의 경우 Amazon FSx File Gateway를 사용하여 온프레미스에서 짧은 대기 시간으로 Amazon FSx for Windows File Server의 완전관리형 파일 공유에 액세스할 수 있습니다.

* S3 Glacier Deep Archive : 파일 장기 보관용 솔루션

데이터가 완전히 사라지는 것이 아니라 장기 보관됨

 

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?

A. Configure an Amazon Simple Queue Service (Amazon SQS) queue as a destination for the jobs. Implement the compute nodes with Amazon EC2 instances that are managed in an Auto Scaling group. Configure EC2 Auto Scaling to use scheduled scaling.
B. Configure an Amazon Simple Queue Service (Amazon SQS) queue as a destination for the jobs. Implement the compute nodes with Amazon EC2 instances that are managed in an Auto Scaling group. Configure EC2 Auto Scaling based on the size of the queue. Most Voted
C. Implement the primary server and the compute nodes with Amazon EC2 instances that are managed in an Auto Scaling group. Configure AWS CloudTrail as a destination for the jobs. Configure EC2 Auto Scaling based on the load on the primary server.
D. Implement the primary server and the compute nodes with Amazon EC2 instances that are managed in an Auto Scaling group. Configure Amazon EventBridge (Amazon CloudWatch Events) as a destination for the jobs. Configure EC2 Auto Scaling based on the load on the compute nodes.

답) B

 

풀이) AWS로 어플리케이션을 마이그레이션 하는 상황. primary server는 여러개의 compute nodes를 통해 job들을 조정한다. 

탄력성과 유연성을 최대화 할 수 있는 솔루션은?

 

* primary server?

- A primary server is a server that acts as the first source for Domain Name System (DNS) data and responds to queries. / 가장먼저 쿼리로부터의 응답과 DNS로 전송할 데이터를 다루는 서버

* compute nodes? 

: 가상 클라우드에서 네트워킹, 임시저장소 등을 제공하는 하나의 머신 

 

C, D가 정답이 될 수 없는 이유: primary server와 compute nodes 들은 같은 오토스케일링 그룹에 있으면 안됨. 

SQS 를 통해서 auto scaling 할 수 있음 

 

728x90
반응형

'aws' 카테고리의 다른 글

AWS saa-C03 합격 후기  (4) 2023.03.11
golang ec2 웹서버 배포 & ssl 인증서 적용  (0) 2022.12.20