ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 97 - SAP-C02 discussion

Report
Export

A company runs a Java application that has complex dependencies on VMs that are in the company's data center. The application is stable. but the company wants to modernize the technology stack. The company wants to migrate the application to AWS and minimize the administrative overhead to maintain the servers.

Which solution will meet these requirements with the LEAST code changes?

A.
Migrate the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate by using AWS App2Container. Store container images in Amazon Elastic Container Registry (Amazon ECR). Grant the ECS task execution role permission 10 access the ECR image repository. Configure Amazon ECS to use an Application Load Balancer (ALB). Use the ALB to interact with the application.
Answers
A.
Migrate the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate by using AWS App2Container. Store container images in Amazon Elastic Container Registry (Amazon ECR). Grant the ECS task execution role permission 10 access the ECR image repository. Configure Amazon ECS to use an Application Load Balancer (ALB). Use the ALB to interact with the application.
B.
Migrate the application code to a container that runs in AWS Lambda. Build an Amazon API Gateway REST API with Lambda integration. Use API Gateway to interact with the application.
Answers
B.
Migrate the application code to a container that runs in AWS Lambda. Build an Amazon API Gateway REST API with Lambda integration. Use API Gateway to interact with the application.
C.
Migrate the application to Amazon Elastic Kubernetes Service (Amazon EKS) on EKS managed node groups by using AWS App2Container. Store container images in Amazon Elastic Container Registry (Amazon ECR). Give the EKS nodes permission to access the ECR image repository. Use Amazon API Gateway to interact with the application.
Answers
C.
Migrate the application to Amazon Elastic Kubernetes Service (Amazon EKS) on EKS managed node groups by using AWS App2Container. Store container images in Amazon Elastic Container Registry (Amazon ECR). Give the EKS nodes permission to access the ECR image repository. Use Amazon API Gateway to interact with the application.
D.
Migrate the application code to a container that runs in AWS Lambda. Configure Lambda to use an Application Load Balancer (ALB). Use the ALB to interact with the application.
Answers
D.
Migrate the application code to a container that runs in AWS Lambda. Configure Lambda to use an Application Load Balancer (ALB). Use the ALB to interact with the application.
Suggested answer: A

Explanation:

According to the AWS documentation1, AWS App2Container (A2C) is a command line tool for migratingand modernizing Java and .NET web applications into container format. AWS A2C analyzes and builds aninventory of applications running in bare metal, virtual machines, Amazon Elastic Compute Cloud (EC2)instances, or in the cloud. You can use AWS A2C to generate container images for your applications anddeploy them on Amazon ECS or Amazon EKS.Option A meets the requirements of the scenario because it allows you to migrate your existing Javaapplication to AWS and minimize the administrative overhead to maintain the servers. You can use AWSA2C to analyze your application dependencies, extract application artifacts, and generate a Dockerfile.You can then store your container images in Amazon ECR, which is a fully managed container registryservice. You can use AWS Fargate as the launch type for your Amazon ECS cluster, which is a serverlesscompute engine that eliminates the need to provision and manage servers for your containers. You cangrant the ECS task execution role permission to access the ECR image repository, which allows your tasksto pull images from ECR. You can configure Amazon ECS to use an ALB, which is a load balancer thatdistributes traffic across multiple targets in multiple Availability Zones using HTTP or HTTPS protocols.You can use the ALB to interact with your application.

asked 16/09/2024
Michal Kopl
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first