SAA-C03 exam dumps

SAA-C03 practice question 127 of 553

AWS Certified Solutions Architect - Associate. Associate level, Amazon Web Services. Free question with the correct answer and a full explanation.

SAA-C03 Question 127

Select 2

Your company wants to migrate a monolithic application to containers to improve scalability and portability. The application currently runs on multiple EC2 instances and uses a shared file system for storing logs. Which of the following steps would help you design a successful migration to containers on AWS? (Choose TWO)

  1. A

    Break the monolithic application into smaller microservices and containerize each component separately.

  2. B

    Use AWS Fargate to run the containers without managing the underlying EC2 instances.

  3. C

    Continue using the shared file system directly inside the containers without modifications.

  4. D

    Store the application configuration in environment variables or AWS Secrets Manager for better portability.

  5. E

    Run the containers on Amazon Lightsail for better cost optimization.

Show answer and explanation

Correct answers: A, D

Explanation

To successfully migrate a monolithic application into containers, it's important to break the application into smaller, independently managed microservices. Using environment variables or AWS Secrets Manager for configurations ensures better portability and security. These steps help align with the best practices for containerization and application modernization on AWS.

  • A. Correct.

    Breaking the monolithic application into smaller microservices allows each component to be independently developed, scaled, and deployed, which aligns with containerization best practices.

  • B. Incorrect.

    AWS Fargate is a valid choice for running containers, but it is not directly related to the migration process itself. The key focus of this question is on migration steps.

  • C. Incorrect.

    Directly using a shared file system inside the containers can lead to issues with scalability and performance. Instead, more container-native storage solutions like Amazon EFS or S3 should be considered.

  • D. Correct.

    Storing application configuration in environment variables or AWS Secrets Manager ensures the containers are portable and do not have hardcoded dependencies.

  • E. Incorrect.

    Amazon Lightsail is not specifically designed for containerized workloads and is generally used for simpler applications. For containerized workloads, services like ECS or EKS are more appropriate.

Timed practice exam

Take a SAA-C03 practice test under exam conditions

65 questions in 130 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam