exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 106 discussion

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.
  • 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.
  • 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.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
masetromain
Highly Voted 2 years, 4 months ago
Selected Answer: A
The correct answer would be A, as migrating the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate by using AWS App2Container and storing container images in Amazon Elastic Container Registry (Amazon ECR) would minimize the code changes and administrative overhead required to maintain the servers. This option would allow the company to use the Application Load Balancer (ALB) to interact with the application and the ECS task execution role permission to access the ECR image repository. Option B would require the application code to be migrated to a container that runs in AWS Lambda, which would require more code changes. Option C would require migrating the application to Amazon Elastic Kubernetes Service (Amazon EKS) which would require more administrative overhead. Option D would require configuring Lambda to use an Application Load Balancer (ALB), which is not a native feature of Lambda.
upvoted 20 times
Musk
2 years, 3 months ago
B does not say anything about Lambda. Where have you red that?
upvoted 1 times
Musk
2 years, 3 months ago
You are right, I mixed A with B
upvoted 1 times
...
...
rbm2023
2 years ago
There is another problem with Option B, it suggest using EKS with managed node groups and not Fargate, which breaks the requirement for reducing administrative overhead
upvoted 1 times
...
masetromain
2 years, 4 months ago
This solution allows for the existing application code to be packaged into a container, which can then be deployed to ECS on Fargate. The use of AWS App2Container will help automate the containerization process, minimizing the need for code changes. Additionally, by using ECR to store container images, the application can continue to use the same images and dependencies that it currently relies on. The use of an Application Load Balancer (ALB) to interact with the application further simplifies the migration process by allowing the use of the existing application's endpoint.
upvoted 4 times
...
...
zejou1
Highly Voted 2 years, 1 month ago
Selected Answer: A
AWS App2Container (A2C) is a command line tool to help you lift and shift applications that run in your on-premises data centers or on virtual machines, so that they run in containers that are managed by Amazon ECS, Amazon EKS, or AWS App Runner. Moving legacy applications to containers is often the starting point toward application modernization. There are many benefits to containerization: • Reduces operational overhead and infrastructure costs • Increases development and deployment agility • Standardizes build and deployment processes across an organization https://docs.aws.amazon.com/app2container/latest/UserGuide/what-is-a2c.html AWS Fargate is a serverless, pay-as-you-go compute engine that lets you focus on building applications without managing servers. AWS Fargate is compatible with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS). https://aws.amazon.com/fargate/
upvoted 9 times
...
amministrazione
Most Recent 8 months, 2 weeks ago
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.
upvoted 1 times
...
gofavad926
1 year, 1 month ago
Selected Answer: A
A, ECS Fargate
upvoted 1 times
...
AimarLeo
1 year, 3 months ago
Selected Answer: A
If the keyword 'Java' has not been mentioned, Answer A would have been considered as A2C (App2Container) is valid only for Java and .Net web applications
upvoted 2 times
...
ninomfr64
1 year, 3 months ago
Selected Answer: A
A = correct B = migrating app to container to be executed in a Lambda requires more code changes C = EKS with managed node group requires more operations than ECS with Fargate D = see B
upvoted 1 times
...
career360guru
1 year, 4 months ago
Selected Answer: A
Option A. Option C EKS not not valid because as using API Gateway is not needed and may require more code changes.
upvoted 2 times
...
severlight
1 year, 6 months ago
Selected Answer: A
in the case of fargate capacity provider you should grant permissions to access ecr to task execution role, otherwise to ec2 instance roles which you run containers on
upvoted 1 times
...
CVDON
1 year, 7 months ago
Sorry is A
upvoted 1 times
...
CVDON
1 year, 7 months ago
C on eks because of complex VM dependecies
upvoted 1 times
...
CVDON
1 year, 7 months ago
D because of complex vm dependencies
upvoted 1 times
...
NikkyDicky
1 year, 10 months ago
Selected Answer: A
it's an A
upvoted 1 times
...
Maria2023
1 year, 10 months ago
Did anyone notice that part "has complex dependencies on VMs that are in the company's data center."? If the application has complex dependencies on VMs then how do we migrate it to containers or lambda? Another awkward question.
upvoted 1 times
...
Sarutobi
2 years ago
Selected Answer: A
I still select A, but as someone that has migrated Java applications to AWS using AWS App2Container and RedHat S2i, this is a lot of pain.
upvoted 1 times
...
mfsec
2 years, 1 month ago
Selected Answer: A
Migrate the application to Amazon Elastic Container Service (Amazon ECS) on AWS Fargate by using AWS App2Container.
upvoted 1 times
...
kiran15789
2 years, 2 months ago
Selected Answer: A
least code chansges
upvoted 2 times
...
keonlee
2 years, 2 months ago
Selected Answer: A
Fargate, Modernize stack
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago