레이블이 AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions인 게시물을 표시합니다. 모든 게시물 표시
레이블이 AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions인 게시물을 표시합니다. 모든 게시물 표시

[Question #13] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company needs to implement a patching process for its servers. The on-premises servers and Amazon EC2 instances use a variety of tools to perform patching. Management requires a single report showing the patch status of all the servers and instances.
Which set of actions should a solutions architect take to meet these requirements?

  • A. Use AWS Systems Manager to manage patches on the on-premises servers and EC2 instances. Use Systems Manager to generate patch compliance reports.
  • B. Use AWS OpsWorks to manage patches on the on-premises servers and EC2 instances. Use Amazon QuickSight integration with OpsWorks to generate patch compliance reports.
  • C. Use an Amazon EventBridge rule to apply patches by scheduling an AWS Systems Manager patch remediation job. Use Amazon Inspector to generate patch compliance reports.
  • D. Use AWS OpsWorks to manage patches on the on-premises servers and EC2 instances. Use AWS X-Ray to post the patch status to AWS Systems Manager OpsCenter to generate patch compliance reports.

----------------------------------------------



회사에서 서버에 패치 적용 프로세스를 구현해야 합니다. 온프레미스 서버와 Amazon EC2 인스턴스는 다양한 도구를 사용하여 패치를 적용합니다. 경영진은 모든 서버와 인스턴스의 패치 상태를 보여주는 단일 보고서를 필요로 합니다.
이러한 요구 사항을 충족하기 위해 솔루션 아키텍트는 어떤 조치를 취해야 할까요?

  • A. AWS Systems Manager를 사용하여 온프레미스 서버와 EC2 인스턴스의 패치를 관리합니다. Systems Manager를 사용하여 패치 규정 준수 보고서를 생성합니다.
  • B. AWS OpsWorks를 사용하여 온프레미스 서버 및 EC2 인스턴스의 패치를 관리합니다. OpsWorks와 Amazon QuickSight 통합을 사용하여 패치 규정 준수 보고서를 생성합니다.
  • C. Amazon EventBridge 규칙을 사용하여 AWS Systems Manager 패치 수정 작업을 예약하여 패치를 적용합니다. Amazon Inspector를 사용하여 패치 규정 준수 보고서를 생성합니다.
  • D. AWS OpsWorks를 사용하여 온프레미스 서버 및 EC2 인스턴스의 패치를 관리합니다. AWS X-Ray를 사용하여 패치 상태를 AWS Systems Manager OpsCenter에 게시하고 패치 규정 준수 보고서를 생성합니다.

 


Correct Answer: A 



AWS Systems Manager는 온프레미스 서버와 EC2 인스턴스 모두에서 패치를 관리하고 패치 규정 준수 보고서를 생성할 수 있습니다. AWS OpsWorks와 Amazon Inspector는 패치 관리용으로 특별히 설계되지 않았으므로 이 사용 사례에 가장 적합한 선택이 아닙니다. Amazon EventBridge 규칙과 AWS X-Ray를 사용하여 패치 규정 준수 보고서를 생성하는 것은 패치 관리 보고용으로 설계되지 않았으므로 실용적인 솔루션이 아닙니다.



https://docs.aws.amazon.com/prescriptive-guidance/latest/patch-management-hybrid-cloud/design-on-premises.html





[Question #10] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A retail company is operating its ecommerce application on AWS. The application runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The company uses an Amazon RDS DB instance as the database backend. Amazon CloudFront is configured with one origin that points to the ALB. Static content is cached. Amazon Route 53 is used to host all public zones.
After an update of the application, the ALB occasionally returns a 502 status code (Bad Gateway) error. The root cause is malformed HTTP headers that are returned to the ALB. The webpage returns successfully when a solutions architect reloads the webpage immediately after the error occurs.
While the company is working on the problem, the solutions architect needs to provide a custom error page instead of the standard ALB error page to visitors.
Which combination of steps will meet this requirement with the LEAST amount of operational overhead? (Choose two.)

  • A. Create an Amazon S3 bucket. Configure the S3 bucket to host a static webpage. Upload the custom error pages to Amazon S3.
  • B. Create an Amazon CloudWatch alarm to invoke an AWS Lambda function if the ALB health check response Target.FailedHealthChecks is greater than 0. Configure the Lambda function to modify the forwarding rule at the ALB to point to a publicly accessible web server.
  • C. Modify the existing Amazon Route 53 records by adding health checks. Configure a fallback target if the health check fails. Modify DNS records to point to a publicly accessible webpage.
  • D. Create an Amazon CloudWatch alarm to invoke an AWS Lambda function if the ALB health check response Elb.InternalError is greater than 0. Configure the Lambda function to modify the forwarding rule at the ALB to point to a public accessible web server.
  • E. Add a custom error response by configuring a CloudFront custom error page. Modify DNS records to point to a publicly accessible web page.




-------------------------------------------------





소매업체가 AWS에서 전자상거래 애플리케이션을 운영하고 있습니다. 이 애플리케이션은 애플리케이션 로드 밸런서(ALB) 뒤의 Amazon EC2 인스턴스에서 실행됩니다. 이 회사는 Amazon RDS DB 인스턴스를 데이터베이스 백엔드로 사용합니다. Amazon CloudFront는 ALB를 가리키는 하나의 오리진으로 구성됩니다. 정적 콘텐츠는 캐시됩니다. 모든 퍼블릭 존(zone)은 Amazon Route 53을 사용하여 호스팅됩니다.
애플리케이션 업데이트 후 ALB에서 502 상태 코드(잘못된 게이트웨이) 오류가 발생하는 경우가 있습니다. 근본 원인은 잘못된 HTTP 헤더가 ALB로 반환되는 것입니다. 오류 발생 직후 솔루션 아키텍트가 웹페이지를 다시 로드하면 웹페이지가 정상적으로 반환됩니다.
회사가 문제를 해결하는 동안 솔루션 아키텍트는 방문자에게 표준 ALB 오류 페이지 대신 사용자 지정 오류 페이지를 제공해야 합니다.
운영 오버헤드를 최소화하면서 이 요구 사항을 충족하는 단계 조합은 무엇입니까? (두 가지 선택)

  • A. Amazon S3 버킷을 생성합니다. 정적 웹페이지를 호스팅하도록 S3 버킷을 구성합니다. 사용자 지정 오류 페이지를 Amazon S3에 업로드합니다.
  • B. ALB 상태 확인 응답 Target.FailedHealthChecks가 0보다 큰 경우 AWS Lambda 함수를 호출하는 Amazon CloudWatch 알람을 생성합니다. Lambda 함수를 구성하여 ALB의 전달 규칙을 수정하여 공개적으로 액세스 가능한 웹 서버를 가리킵니다.
  • C. 기존 Amazon Route 53 레코드에 상태 확인을 추가하여 수정합니다. 상태 확인 실패 시 대체 대상을 구성합니다. 공개적으로 접근 가능한 웹 페이지를 가리키도록 DNS 레코드를 수정합니다.
  • D. ALB 상태 확인 응답 Elb.InternalError가 0보다 큰 경우 AWS Lambda 함수를 호출하는 Amazon CloudWatch 알람을 생성합니다. Lambda 함수를 구성하여 ALB의 전달 규칙을 수정하여 공개적으로 액세스 가능한 웹 서버를 가리킵니다.
  • E. CloudFront 사용자 지정 오류 페이지를 구성하여 사용자 지정 오류 응답을 추가합니다. 공개적으로 액세스 가능한 웹 페이지를 가리키도록 DNS 레코드를 수정합니다.






Correct Answer: AE


Option A - This option helps: Allows exposing custom error pages from a highly-available location Option B - This option requires a lot of set up Option C - This option might not work because modifying DNS will redirect all traffic publicly accessible webpage Option D - This option requires a lot of set up Option E - This option helps: Shows a custom error page when the error occurs



https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GeneratingCustomErrorResponses.html#custom-error-pages-procedure










[Question #9] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A company is hosting a critical application on a single Amazon EC2 instance. The application uses an Amazon ElastiCache for Redis single-node cluster for an in-memory data store. The application uses an Amazon RDS for MariaDB DB instance for a relational database. For the application to function, each piece of the infrastructure must be healthy and must be in an active state.
A solutions architect needs to improve the application's architecture so that the infrastructure can automatically recover from failure with the least possible downtime.
Which combination of steps will meet these requirements? (Choose three.)

  • A. Use an Elastic Load Balancer to distribute traffic across multiple EC2 instances. Ensure that the EC2 instances are part of an Auto Scaling group that has a minimum capacity of two instances.
  • B. Use an Elastic Load Balancer to distribute traffic across multiple EC2 instances. Ensure that the EC2 instances are configured in unlimited mode.
  • C. Modify the DB instance to create a read replica in the same Availability Zone. Promote the read replica to be the primary DB instance in failure scenarios.
  • D. Modify the DB instance to create a Multi-AZ deployment that extends across two Availability Zones.
  • E. Create a replication group for the ElastiCache for Redis cluster. Configure the cluster to use an Auto Scaling group that has a minimum capacity of two instances.
  • F. Create a replication group for the ElastiCache for Redis cluster. Enable Multi-AZ on the cluster.



-------------------------------------------




한 회사가 단일 Amazon EC2 인스턴스에 중요 애플리케이션을 호스팅하고 있습니다. 이 애플리케이션은 인메모리 데이터 저장소로 Amazon ElastiCache for Redis 단일 노드 클러스터를 사용합니다. 또한 관계형 데이터베이스로 Amazon RDS for MariaDB DB 인스턴스를 사용합니다. 애플리케이션이 작동하려면 인프라의 각 부분이 정상 상태여야 하며 활성 상태여야 합니다.
솔루션 아키텍트는 인프라가 최소한의 다운타임으로 장애 발생 시 자동으로 복구될 수 있도록 애플리케이션 아키텍처를 개선해야 합니다.
이러한 요구 사항을 충족하는 단계 조합은 무엇입니까? (세 가지 선택)

  • A. Elastic Load Balancer를 사용하여 여러 EC2 인스턴스에 트래픽을 분산합니다. EC2 인스턴스가 최소 두 개의 인스턴스 용량을 가진 Auto Scaling 그룹에 속해야 합니다.
  • B. Elastic Load Balancer를 사용하여 여러 EC2 인스턴스에 트래픽을 분산합니다. EC2 인스턴스가 무제한 모드로 구성되어 있는지 확인하세요.
  • C. 동일한 가용 영역에 읽기 전용 복제본을 생성하도록 DB 인스턴스를 수정합니다. 장애 발생 시 읽기 전용 복제본을 기본 DB 인스턴스로 승격합니다.
  • D. 두 개의 가용성 영역에 걸쳐 확장되는 다중 AZ 배포를 생성하기 위해 DB 인스턴스를 수정합니다.
  • E. ElastiCache for Redis 클러스터에 대한 복제 그룹을 생성합니다. 최소 두 개의 인스턴스 용량을 가진 Auto Scaling 그룹을 사용하도록 클러스터를 구성합니다.
  • F. ElastiCache for Redis 클러스터에 대한 복제 그룹을 생성합니다. 클러스터에서 다중 AZ를 활성화합니다.
 

Correct Answer: ADF












[중요-Question #8] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company has a multi-tier web application that runs on a fleet of Amazon EC2 instances behind an Application Load Balancer (ALB). The instances are in an Auto Scaling group. The ALB and the Auto Scaling group are replicated in a backup AWS Region. The minimum value and the maximum value for the Auto Scaling group are set to zero. An Amazon RDS Multi-AZ DB instance stores the application’s data. The DB instance has a read replica in the backup Region. The application presents an endpoint to end users by using an Amazon Route 53 record.
The company needs to reduce its RTO to less than 15 minutes by giving the application the ability to automatically fail over to the backup Region. The company does not have a large enough budget for an active-active strategy.
What should a solutions architect recommend to meet these requirements?

  • A. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.
  • B. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Configure Route 53 with a health check that monitors the web application and sends an Amazon Simple Notification Service (Amazon SNS) notification to the Lambda function when the health check status is unhealthy. Update the application’s Route 53 record with a failover policy that routes traffic to the ALB in the backup Region when a health check failure occurs.
  • C. Configure the Auto Scaling group in the backup Region to have the same values as the Auto Scaling group in the primary Region. Reconfigure the application’s Route 53 record with a latency-based routing policy that load balances traffic between the two ALBs. Remove the read replica. Replace the read replica with a standalone RDS DB instance. Configure Cross-Region Replication between the RDS DB instances by using snapshots and Amazon S3.
  • D. Configure an endpoint in AWS Global Accelerator with the two ALBs as equal weighted targets. Create an AWS Lambda function in the backup Region to promote the read replica and modify the Auto Scaling group values. Create an Amazon CloudWatch alarm that is based on the HTTPCode_Target_5XX_Count metric for the ALB in the primary Region. Configure the CloudWatch alarm to invoke the Lambda function.



----------------------------------------



한 회사에 애플리케이션 로드 밸런서(ALB) 뒤의 Amazon EC2 인스턴스 플릿에서 실행되는 다중 계층 웹 애플리케이션이 있습니다. 이 인스턴스들은 Auto Scaling 그룹에 속합니다. ALB와 Auto Scaling 그룹은 백업 AWS 리전에 복제됩니다. Auto Scaling 그룹의 최솟값과 최댓값은 0으로 설정되어 있습니다. Amazon RDS 다중 AZ DB 인스턴스는 애플리케이션 데이터를 저장합니다. 이 DB 인스턴스는 백업 리전에 읽기 복제본을 가지고 있습니다. 이 애플리케이션은 Amazon Route 53 레코드를 사용하여 최종 사용자에게 엔드포인트를 제공합니다.
이 회사는 애플리케이션이 백업 리전으로 자동 장애 조치할 수 있도록 RTO를 15분 미만으로 줄여야 합니다. 이 회사는 액티브-액티브 전략을 실행할 만큼 충분한 예산이 없습니다.
이러한 요구 사항을 충족하기 위해 솔루션 아키텍트는 무엇을 권장해야 할까요?

  • A. 두 ALB 간의 트래픽 부하를 분산하는 지연 시간 기반 라우팅 정책으로 애플리케이션의 Route 53 레코드를 재구성합니다. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 기본 리전의 ALB에 대한 HTTPCode_Target_5XX_Count 지표를 기반으로 하는 Amazon CloudWatch 알람을 생성합니다. Lambda 함수를 호출하도록 CloudWatch 알람을 구성합니다.
  • B. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 웹 애플리케이션을 모니터링하고 상태 확인 상태가 비정상일 때 Lambda 함수로 Amazon Simple Notification Service(Amazon SNS) 알림을 전송하는 상태 확인 기능을 Route 53에 구성합니다. 상태 확인 실패 시 백업 리전의 ALB로 트래픽을 라우팅하는 장애 조치 정책으로 애플리케이션의 Route 53 레코드를 업데이트합니다.
  • C. 백업 리전의 Auto Scaling 그룹 값을 기본 리전의 Auto Scaling 그룹 값과 동일하게 구성합니다. 두 ALB 간의 트래픽 부하를 분산하는 지연 시간 기반 라우팅 정책으로 애플리케이션의 Route 53 레코드를 재구성합니다. 읽기 전용 복제본을 제거합니다. 읽기 전용 복제본을 독립형 RDS DB 인스턴스로 교체합니다. 스냅샷과 Amazon S3를 사용하여 RDS DB 인스턴스 간의 리전 간 복제를 구성합니다.
  • D. AWS Global Accelerator에서 두 개의 ALB를 동일한 가중치를 적용하는 대상으로 엔드포인트를 구성합니다. 백업 리전에 AWS Lambda 함수를 생성하여 읽기 전용 복제본을 승격하고 Auto Scaling 그룹 값을 수정합니다. 기본 리전의 ALB에 대한 HTTPCode_Target_5XX_Count 지표를 기반으로 하는 Amazon CloudWatch 경보를 생성합니다. Lambda 함수를 호출하도록 CloudWatch 경보를 구성합니다.




Correct Answer: B 



B가 맞습니다. RTO를 15분 미만으로 단축하고 액티브-액티브 전략에 큰 예산이 필요하지 않다는 회사의 요구 사항을 충족하기 때문입니다. 이 솔루션에서 회사는 백업 리전에 AWS Lambda 함수를 생성하여 읽기 복제본을 승격시키고 Auto Scaling 그룹 값을 수정합니다. Route 53은 웹 애플리케이션을 모니터링하고 상태 확인이 비정상일 때 Lambda 함수에 Amazon SNS 알림을 전송하는 상태 확인 기능으로 구성됩니다. Route 53 레코드는 상태 확인 실패 시 트래픽을 백업 리전의 ALB로 라우팅하는 장애 조치 정책으로 업데이트됩니다. 이렇게 하면 기본 리전에 장애가 발생하더라도 장애 조치 정책이 트리거되고 트래픽이 백업 리전으로 전송되어 빠른 복구 시간을 보장합니다.



[Question #7] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company is running a traditional web application on Amazon EC2 instances. The company needs to refactor the application as microservices that run on containers. Separate versions of the application exist in two distinct environments: production and testing. Load for the application is variable, but the minimum load and the maximum load are known. A solutions architect needs to design the updated application with a serverless architecture that minimizes operational complexity.
Which solution will meet these requirements MOST cost-effectively?

  • A. Upload the container images to AWS Lambda as functions. Configure a concurrency limit for the associated Lambda functions to handle the expected peak load. Configure two separate Lambda integrations within Amazon API Gateway: one for production and one for testing.
  • B. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Container Service (Amazon ECS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the ECS clusters.
  • C. Upload the container images to Amazon Elastic Container Registry (Amazon ECR). Configure two auto scaled Amazon Elastic Kubernetes Service (Amazon EKS) clusters with the Fargate launch type to handle the expected load. Deploy tasks from the ECR images. Configure two separate Application Load Balancers to direct traffic to the EKS clusters.
  • D. Upload the container images to AWS Elastic Beanstalk. In Elastic Beanstalk, create separate environments and deployments for production and testing. Configure two separate Application Load Balancers to direct traffic to the Elastic Beanstalk deployments.


 ------------------------------------




한 회사가 Amazon EC2 인스턴스에서 기존 웹 애플리케이션을 실행하고 있습니다. 이 회사는 컨테이너에서 실행되는 마이크로서비스로 애플리케이션을 리팩토링해야 합니다. 애플리케이션은 운영 환경과 테스트 환경이라는 두 가지 서로 다른 환경에 각각 존재합니다. 애플리케이션의 부하량은 가변적이지만, 최소 부하와 최대 부하량은 알려져 있습니다. 솔루션 아키텍트는 운영 복잡성을 최소화하는 서버리스 아키텍처로 업데이트된 애플리케이션을 설계해야 합니다.
이러한 요구 사항을 가장 비용 효율적으로 충족하는 솔루션은 무엇일까요?

  • A. 컨테이너 이미지를 AWS Lambda에 함수로 업로드합니다. 예상되는 최대 부하를 처리할 수 있도록 연결된 Lambda 함수의 동시성 제한을 설정합니다. Amazon API Gateway 내에 두 개의 Lambda 통합을 구성합니다. 하나는 프로덕션용이고 다른 하나는 테스트용입니다.
  • B. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Container Service(Amazon ECS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 ECS 클러스터로 전달하기 위해 두 개의 별도 애플리케이션 로드 밸런서를 구성합니다.
  • C. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Kubernetes Service(Amazon EKS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 EKS 클러스터로 전달하기 위해 두 개의 개별 애플리케이션 로드 밸런서를 구성합니다.
  • D. 컨테이너 이미지를 AWS Elastic Beanstalk에 업로드합니다. Elastic Beanstalk에서 프로덕션 및 테스트용으로 별도의 환경과 배포를 생성합니다. Elastic Beanstalk 배포로 트래픽을 전달하도록 두 개의 별도 애플리케이션 로드 밸런서를 구성합니다.




Correct Answer: B 




B. 컨테이너 이미지를 Amazon Elastic Container Registry(Amazon ECR)에 업로드합니다. 예상 부하를 처리하기 위해 Fargate 시작 유형을 사용하여 두 개의 자동 확장 Amazon Elastic Container Service(Amazon ECS) 클러스터를 구성합니다. ECR 이미지에서 작업을 배포합니다. 트래픽을 ECS 클러스터로 전달하기 위해 두 개의 개별 애플리케이션 로드 밸런서를 구성합니다. 이 옵션은 ECS 클러스터에 Fargate 시작 유형을 사용하여 서버리스 아키텍처 사용 요구 사항을 충족하며, 예상 부하에 따라 컨테이너를 자동으로 확장할 수 있습니다. 또한 각 환경에 대해 별도의 ECS 클러스터와 애플리케이션 로드 밸런서를 구성하여 프로덕션 및 테스트 환경에 별도의 배포를 지원합니다. 또한 컨테이너 오케스트레이션 및 확장에 ECS와 Fargate를 활용하여 운영 복잡성을 최소화합니다.





[Question #6] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A retail company needs to provide a series of data files to another company, which is its business partner. These files are saved in an Amazon S3 bucket under Account A, which belongs to the retail company. The business partner company wants one of its IAM users, User_DataProcessor, to access the files from its own AWS account (Account B).
Which combination of steps must the companies take so that User_DataProcessor can access the S3 bucket successfully? (Choose two.)


 



-----------------------------------------------



소매업체가 비즈니스 파트너인 다른 회사에 일련의 데이터 파일을 제공해야 합니다. 이 파일들은 소매업체 소유의 계정 A 아래 Amazon S3 버킷에 저장됩니다. 비즈니스 파트너 회사는 자사의 IAM 사용자 중 한 명인 User_DataProcessor가 자사 AWS 계정(계정 B)에서 이 파일에 액세스하기를 원합니다.
User_DataProcessor가 S3 버킷에 성공적으로 액세스하려면 어떤 단계를 조합하여 수행해야 합니까? (두 가지 선택)


Correct Answer: C & D





C & D. 계정 A에서 S3 버킷 정책을 설정하여 계정 B의 'User_DataProcessor'만 접근하도록 합니다. 계정 B에서 User_DataProcessor의 권한을 설정하여 계정 A의 S3 버킷에 대한 접근을 허용합니다.


https://docs.aws.amazon.com/res/latest/ug/S3-buckets-cross-account-access.html






[중요-Question #5] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A company uses a service to collect metadata from applications that the company hosts on premises. Consumer devices such as TVs and internet radios access the applications. Many older devices do not support certain HTTP headers and exhibit errors when these headers are present in responses. The company has configured an on-premises load balancer to remove the unsupported headers from responses sent to older devices, which the company identified by the User-Agent headers.
The company wants to migrate the service to AWS, adopt serverless technologies, and retain the ability to support the older devices. The company has already migrated the applications into a set of AWS Lambda functions.
Which solution will meet these requirements?

  • A. Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correct Lambda function for each type of request. Create a CloudFront function to remove the problematic headers based on the value of the User-Agent header.
  • B. Create an Amazon API Gateway REST API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Modify the default gateway responses to remove the problematic headers based on the value of the User-Agent header.
  • C. Create an Amazon API Gateway HTTP API for the metadata service. Configure API Gateway to invoke the correct Lambda function for each type of request. Create a response mapping template to remove the problematic headers based on the value of the User-Agent. Associate the response data mapping with the HTTP API.
  • D. Create an Amazon CloudFront distribution for the metadata service. Create an Application Load Balancer (ALB). Configure the CloudFront distribution to forward requests to the ALB. Configure the ALB to invoke the correct Lambda function for each type of request. Create a Lambda@Edge function that will remove the problematic headers in response to viewer requests based on the value of the User-Agent header.




------------------------------------------



한 회사가 사내에서 호스팅하는 애플리케이션의 메타데이터를 수집하는 서비스를 사용합니다. TV나 인터넷 라디오와 같은 소비자 기기가 이 애플리케이션에 접속합니다. 많은 구형 기기는 특정 HTTP 헤더를 지원하지 않으며, 이러한 헤더가 응답에 포함되면 오류가 발생합니다. 이 회사는 구형 기기로 전송되는 응답에서 지원되지 않는 헤더를 제거하기 위해 온프레미스 로드 밸런서를 구성했습니다. 회사는 이러한 헤더를 User-Agent 헤더로 식별했습니다.
이 회사는 서비스를 AWS로 마이그레이션하고, 서버리스 기술을 도입하며, 구형 기기 지원 기능을 유지하려고 합니다. 이 회사는 이미 애플리케이션을 AWS Lambda 함수 세트로 마이그레이션했습니다.
이러한 요구 사항을 충족하는 솔루션은 무엇일까요?

  • A. 메타데이터 서비스를 위한 Amazon CloudFront 배포를 생성합니다. 애플리케이션 로드 밸런서(ALB)를 생성합니다. CloudFront 배포가 요청을 ALB로 전달하도록 구성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 ALB를 구성합니다. User-Agent 헤더 값을 기반으로 문제가 있는 헤더를 제거하는 CloudFront 함수를 생성합니다.
  • B. 메타데이터 서비스에 대한 Amazon API Gateway REST API를 생성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 API Gateway를 구성합니다. User-Agent 헤더 값을 기반으로 문제가 있는 헤더를 제거하도록 기본 게이트웨이 응답을 수정합니다.
  • C. 메타데이터 서비스를 위한 Amazon API Gateway HTTP API를 생성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 API Gateway를 구성합니다. User-Agent 값을 기반으로 문제가 있는 헤더를 제거하는 응답 매핑 템플릿을 생성합니다. 응답 데이터 매핑을 HTTP API와 연결합니다.
  • D. 메타데이터 서비스를 위한 Amazon CloudFront 배포를 생성합니다. 애플리케이션 로드 밸런서(ALB)를 생성합니다. CloudFront 배포가 요청을 ALB로 전달하도록 구성합니다. 각 요청 유형에 대해 올바른 Lambda 함수를 호출하도록 ALB를 구성합니다. User-Agent 헤더 값을 기반으로 시청자 요청에 대한 응답으로 문제가 있는 헤더를 제거하는 Lambda@Edge 함수를 생성합니다.






Correct Answer: A


문서에 따르면 CloudFront 함수는 "요청이나 응답에 HTTP 헤더를 삽입, 수정 또는 삭제할 수 있습니다." 따라서 A가 더 나은 선택입니다. https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/edge-functions-choosing.html




[Question #4] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company is running a two-tier web-based application in an on-premises data center. The application layer consists of a single server running a stateful application. The application connects to a PostgreSQL database running on a separate server. The application’s user base is expected to grow significantly, so the company is migrating the application and database to AWS. The solution will use Amazon Aurora PostgreSQL, Amazon EC2 Auto Scaling, and Elastic Load Balancing.
Which solution will provide a consistent user experience that will allow the application and database tiers to scale?

  • A. Enable Aurora Auto Scaling for Aurora Replicas. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.
  • B. Enable Aurora Auto Scaling for Aurora writers. Use an Application Load Balancer with the round robin routing algorithm and sticky sessions enabled.
  • C. Enable Aurora Auto Scaling for Aurora Replicas. Use an Application Load Balancer with the round robin routing and sticky sessions enabled.
  • D. Enable Aurora Scaling for Aurora writers. Use a Network Load Balancer with the least outstanding requests routing algorithm and sticky sessions enabled.




-------------------------------



한 회사가 온프레미스 데이터 센터에서 2계층 웹 기반 애플리케이션을 운영하고 있습니다. 애플리케이션 계층은 상태 저장 애플리케이션을 실행하는 단일 서버로 구성됩니다. 이 애플리케이션은 별도의 서버에서 실행되는 PostgreSQL 데이터베이스에 연결됩니다. 애플리케이션 사용자 수가 크게 증가할 것으로 예상되어 회사는 애플리케이션과 데이터베이스를 AWS로 마이그레이션하고 있습니다. 이 솔루션은 Amazon Aurora PostgreSQL, Amazon EC2 Auto Scaling, 그리고 Elastic Load Balancing을 사용합니다.
애플리케이션 및 데이터베이스 계층의 확장을 지원하는 일관된 사용자 경험을 제공하는 솔루션은 무엇일까요?

  • A. Aurora 복제본에 대해 Aurora 자동 확장을 활성화합니다. 미처리 요청 라우팅 알고리즘이 가장 적고 스티키 세션이 활성화된 네트워크 로드 밸런서를 사용합니다.
  • B. Aurora 작성자에 대해 Aurora 자동 확장을 활성화합니다. 라운드 로빈 라우팅 알고리즘과 스티키 세션이 활성화된 애플리케이션 로드 밸런서를 사용합니다.
  • C. Aurora 복제본에 대해 Aurora 자동 확장을 활성화합니다. 라운드 로빈 라우팅과 스티키 세션이 활성화된 애플리케이션 로드 밸런서를 사용합니다.
  • D. Aurora 작성자에 대해 Aurora 확장을 활성화합니다. 미처리 요청 라우팅 알고리즘이 가장 적고 스티키 세션이 활성화된 네트워크 로드 밸런서를 사용합니다.




Correct Answer: C 




옵션 A - 계층이 성장할 수 있지만 NLB가 그런 방식으로 부하 분산 결정을 내리지 않음 옵션 B - Aurora Writers에 대한 Aurora 자동 확장 기능이 없음 옵션 C - 계층이 성장할 수 있고 ALB가 스티키 세션을 사용하여 일관된 사용자 경험을 제공 옵션 D - Aurora Writers에 대한 Aurora 자동 확장 기능이 없음 참고: 애플리케이션은 웹 기반이므로 ALB를 선택하는 것은 문제가 되지 않습니다.




[중요-Question #3] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A company uses AWS Organizations with a single OU named Production to manage multiple accounts. All accounts are members of the Production OU. Administrators use deny list SCPs in the root of the organization to manage access to restricted services.
The company recently acquired a new business unit and invited the new unit’s existing AWS account to the organization. Once onboarded, the administrators of the new business unit discovered that they are not able to update existing AWS Config rules to meet the company’s policies.
Which option will allow administrators to make changes and continue to enforce the current policies without introducing additional long-term maintenance?

  • A. Remove the organization’s root SCPs that limit access to AWS Config. Create AWS Service Catalog products for the company’s standard AWS Config rules and deploy them throughout the organization, including the new account.
  • B. Create a temporary OU named Onboarding for the new account. Apply an SCP to the Onboarding OU to allow AWS Config actions. Move the new account to the Production OU when adjustments to AWS Config are complete.
  • C. Convert the organization’s root SCPs from deny list SCPs to allow list SCPs to allow the required services only. Temporarily apply an SCP to the organization’s root that allows AWS Config actions for principals only in the new account.
  • D. Create a temporary OU named Onboarding for the new account. Apply an SCP to the Onboarding OU to allow AWS Config actions. Move the organization’s root SCP to the Production OU. Move the new account to the Production OU when adjustments to AWS Config are complete.






------------------------------------------------



한 회사가 프로덕션이라는 단일 OU를 사용하는 AWS Organizations를 사용하여 여러 계정을 관리합니다. 모든 계정은 프로덕션 OU의 구성원입니다. 관리자는 조직 루트에 있는 거부 목록 SCP를 사용하여 제한된 서비스에 대한 액세스를 관리합니다.
이 회사는 최근 새로운 사업부를 인수하여 해당 사업부의 기존 AWS 계정을 조직에 초대했습니다. 새 사업부 관리자는 합류 후 기존 AWS Config 규칙을 회사 정책에 맞게 업데이트할 수 없다는 사실을 알게 되었습니다.
관리자가 추가적인 장기 유지 관리 없이도 정책을 변경하고 현재 정책을 계속 적용할 수 있는 방법은 무엇일까요?

  • A. AWS Config에 대한 액세스를 제한하는 조직의 루트 SCP를 제거합니다. 회사의 표준 AWS Config 규칙에 대한 AWS Service Catalog 제품을 생성하고 새 계정을 포함하여 조직 전체에 배포합니다.
  • B. 새 계정에 대해 Onboarding이라는 임시 OU를 생성합니다. Onboarding OU에 SCP를 적용하여 AWS Config 작업을 허용합니다. AWS Config 조정이 완료되면 새 계정을 Production OU로 이동합니다.
  • C. 조직의 루트 SCP를 거부 목록 SCP에서 허용 목록 SCP로 변환하여 필요한 서비스만 허용합니다. 새 계정의 보안 주체에 대해서만 AWS Config 작업을 허용하는 SCP를 조직의 루트에 임시로 적용합니다.
  • D. 새 계정에 대해 Onboarding이라는 임시 OU를 생성합니다. Onboarding OU에 SCP를 적용하여 AWS Config 작업을 허용합니다. 조직의 루트 SCP를 Production OU로 이동합니다. AWS Config 조정이 완료되면 새 계정을 Production OU로 이동합니다.




Correct Answer: D


표현 방식 때문에 쉽지 않았지만, 제 생각은 이렇습니다. A. 여기서는 AWS Config에 대한 액세스를 제한하는 SCP를 영구적으로 제거하지만, 현재 정책을 계속 적용해야 합니다. 
B. AWS Config에 대한 액세스를 제한하는 SCP가 적용되는 루트 아래에 AWS Config를 허용하는 임시 OU 및 관련 SCP가 중첩되어 있습니다. SCP는 권한을 제거할 수만 있고 추가할 수 없으므로 이 방법은 효과가 없습니다. 
C. 여기서 거부 목록을 허용 목록으로 변환하는 것은 유익하지 않습니다. 또한 AWS Config를 허용하는 SCP를 임시로 적용하면 추가적인 장기 유지 관리를 피하기 위해 요청을 충족하지 못합니다. 
따라서 D가 이 역할을 합니다.






[Question #2] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions



A company is providing weather data over a REST-based API to several customers. The API is hosted by Amazon API Gateway and is integrated with different AWS Lambda functions for each API operation. The company uses Amazon Route 53 for DNS and has created a resource record of weather.example.com. The company stores data for the API in Amazon DynamoDB tables. The company needs a solution that will give the API the ability to fail over to a different AWS Region.
Which solution will meet these requirements?

  • A. Deploy a new set of Lambda functions in a new Region. Update the API Gateway API to use an edge-optimized API endpoint with Lambda functions from both Regions as targets. Convert the DynamoDB tables to global tables.
  • B. Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.
  • C. Deploy a new API Gateway API and Lambda functions in another Region. Change the Route 53 DNS record to a failover record. Enable target health monitoring. Convert the DynamoDB tables to global tables.
  • D. Deploy a new API Gateway API in a new Region. Change the Lambda functions to global functions. Change the Route 53 DNS record to a multivalue answer. Add both API Gateway APIs to the answer. Enable target health monitoring. Convert the DynamoDB tables to global tables.




 -----------------------------------





한 회사가 REST 기반 API를 통해 여러 고객에게 날씨 데이터를 제공하고 있습니다. 이 API는 Amazon API Gateway에서 호스팅되며, 각 API 작업에 대해 다양한 AWS Lambda 함수와 통합됩니다. 이 회사는 DNS로 Amazon Route 53을 사용하고 weather.example.com이라는 리소스 레코드를 생성했습니다. 이 회사는 API 데이터를 Amazon DynamoDB 테이블에 저장합니다. 이 회사는 API가 다른 AWS 리전으로 장애 조치(failover)할 수 있는 기능을 제공하는 솔루션이 필요합니다.
이러한 요구 사항을 충족하는 솔루션은 무엇일까요?

  • A. 새 리전에 새로운 Lambda 함수 세트를 배포합니다. 두 리전의 Lambda 함수를 대상으로 엣지 최적화 API 엔드포인트를 사용하도록 API Gateway API를 업데이트합니다. DynamoDB 테이블을 전역 테이블로 변환합니다.
  • B. 다른 리전에 새 API Gateway API와 Lambda 함수를 배포합니다. Route 53 DNS 레코드를 다중값 응답으로 변경합니다. 두 API Gateway API를 모두 응답에 추가합니다. 대상 상태 모니터링을 활성화합니다. DynamoDB 테이블을 전역 테이블로 변환합니다.
  • C. 다른 리전에 새 API Gateway API 및 Lambda 함수를 배포합니다. Route 53 DNS 레코드를 장애 조치 레코드로 변경합니다. 대상 상태 모니터링을 활성화합니다. DynamoDB 테이블을 전역 테이블로 변환합니다.
  • D. 새 리전에 새 API Gateway API를 배포합니다. Lambda 함수를 전역 함수로 변경합니다. Route 53 DNS 레코드를 다중값 응답으로 변경합니다. 두 API Gateway API를 모두 응답에 추가합니다. 대상 상태 모니터링을 활성화합니다. DynamoDB 테이블을 전역 테이블로 변환합니다.




Correct Answer: C 



API가 다른 AWS 리전으로 장애 조치할 수 있도록 하는 가장 좋은 해결책은 옵션 C입니다. C. 다른 리전에 새로운 API Gateway API와 Lambda 함수를 배포합니다. Route 53 DNS 레코드를 장애 조치 레코드로 변경합니다. 대상 상태 모니터링을 활성화합니다. DynamoDB 테이블을 전역 테이블로 변환합니다. 이 해결책은 다른 리전에 새로운 API Gateway API와 Lambda 함수를 배포하는 것을 포함합니다. 또한, 회사는 DynamoDB 테이블을 전역 테이블로 변환하여 리전 간 데이터 복제를 활성화해야 합니다. 그런 다음, Route 53 DNS 레코드를 장애 조치 레코드로 변경하고 대상 상태 모니터링을 활성화하여 기본 리전에 장애 또는 중단 발생 시 트래픽을 새 리전으로 자동 라우팅해야 합니다.




[Question #1] AWS Certified Solutions Architect - Professional SAP-C02 Actual Exam Questions




A company needs to architect a hybrid DNS solution. This solution will use an Amazon Route 53 private hosted zone for the domain cloud.example.com for the resources stored within VPCs.
The company has the following DNS resolution requirements:
On-premises systems should be able to resolve and connect to cloud.example.com.
All VPCs should be able to resolve cloud.example.com.
There is already an AWS Direct Connect connection between the on-premises corporate network and AWS Transit Gateway.
Which architecture should the company use to meet these requirements with the HIGHEST performance?

  • A. Associate the private hosted zone to all the VPCs. Create a Route 53 inbound resolver in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the inbound resolver.
  • B. Associate the private hosted zone to all the VPCs. Deploy an Amazon EC2 conditional forwarder in the shared services VPC. Attach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the conditional forwarder.
  • C. Associate the private hosted zone to the shared services VPCreate a Route 53 outbound resolver in the shared services VPAttach all VPCs to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the outbound resolver.
  • D. Associate the private hosted zone to the shared services VPC. Create a Route 53 inbound resolver in the shared services VPC. Attach the shared services VPC to the transit gateway and create forwarding rules in the on-premises DNS server for cloud.example.com that point to the inbound resolver.



---------------------------------

한 회사가 하이브리드 DNS 솔루션을 설계해야 합니다. 이 솔루션은 VPC에 저장된 리소스에 대해 cloud.example.com 도메인에 Amazon Route 53 프라이빗 호스팅 영역을 사용합니다.
이 회사의 DNS 확인 요구 사항은 다음과 같습니다.
온프레미스 시스템은 cloud.example.com을 확인하고 연결할 수 있어야 합니다.
모든 VPC는 ​​cloud.example.com을 확인할 수 있어야 합니다.
온프레미스 회사 네트워크와 AWS Transit Gateway 사이에는 이미 AWS Direct Connect 연결이 있습니다.
이 회사가 최고의 성능으로 이러한 요구 사항을 충족하려면 어떤 아키텍처를 사용해야 할까요?

  • A. 모든 VPC에 프라이빗 호스팅 영역을 연결합니다. 공유 서비스 VPC에 Route 53 인바운드 확인자를 생성합니다. 모든 VPC를 전송 게이트웨이에 연결하고 온프레미스 DNS 서버에서 cloud.example.com에 대한 전달 규칙을 생성하여 인바운드 확인자를 가리킵니다.
  • B. 모든 VPC에 프라이빗 호스팅 영역을 연결합니다. 공유 서비스 VPC에 Amazon EC2 조건부 전달자를 배포합니다. 모든 VPC를 전송 게이트웨이에 연결하고 온프레미스 DNS 서버에서 cloud.example.com에 대한 전달 규칙을 생성하여 조건부 전달자를 가리킵니다.
  • C. 개인 호스팅 영역을 공유 서비스 VPC에 연결합니다. 공유 서비스 VPA에 Route 53 아웃바운드 리졸버를 만듭니다. 모든 VPC를 전송 게이트웨이에 연결하고 온프레미스 DNS 서버에서 cloud.example.com에 대한 전달 규칙을 만들어 아웃바운드 리졸버를 가리킵니다.
  • D. 프라이빗 호스팅 영역을 공유 서비스 VPC에 연결합니다. 공유 서비스 VPC에 Route 53 인바운드 확인자를 생성합니다. 공유 서비스 VPC를 전송 게이트웨이에 연결하고 온프레미스 DNS 서버에서 cloud.example.com에 대한 전달 규칙을 생성하여 인바운드 확인자를 가리킵니다.




Correct Answer: A 


https://docs.aws.amazon.com/whitepapers/latest/hybrid-cloud-dns-options-for-vpc/route-53-resolver-endpoints-and-forwarding-rules.html






https://www.examtopics.com/exams/amazon/aws-certified-solutions-architect-professional-sap-c02/view/







📈 What Is an ETF? A Beginner's Guide to Smart Investing

📈 What Is an ETF? A Beginner's Guide to Smart Investing 📚 Key Lessons from The Smart Investor's Answer: Your First Step into ETFs ...