SAA-C03 practice question 33 of 35
A company runs a containerized application on a Kubernetes cluster in an on-premises data center. The company is using a MongoDB database for data storage. The company wants to migrate some of these environments to AWS, but no code changes or deployment method changes are possible at this time. The company needs a solution that minimizes operational overhead.
Full set: 972 questionsDomain Design High-Performing Architectures
The solution must accommodate an existing Kubernetes application using MongoDB without code or deployment changes, while minimizing operational overhead.
1. Compute: Amazon Elastic Kubernetes Service (Amazon EKS) is the appropriate managed service for migrating Kubernetes workloads, satisfying the "no deployment method changes" requirement. Using AWS Fargate with EKS provides serverless compute, which abstracts away server management and directly addresses the need to minimize operational overhead.
2. Database: Amazon DocumentDB is a managed database service with MongoDB compatibility. This allows the application to connect to the new database without requiring code changes, fulfilling a critical constraint. As a fully managed service, it also minimizes database administration overhead.
A. Amazon ECS is not Kubernetes, which would require changing deployment methods. Self-hosting MongoDB on EC2 increases, rather than minimizes, operational overhead.
B. Amazon ECS is not Kubernetes-compatible. Amazon DynamoDB is not MongoDB-compatible, which would force code changes, violating a core requirement.
C. Amazon DynamoDB is not MongoDB-compatible, which would require forbidden code changes. Using EC2 worker nodes also incurs more operational overhead than the serverless Fargate option.
1. Amazon EKS: "Amazon EKS is a managed service that you can use to run Kubernetes on AWS without needing to install
operate
and maintain your own Kubernetes control plane or nodes."
Source: AWS Documentation
"What is Amazon EKS?"
Introduction.
2. AWS Fargate with Amazon EKS: "AWS Fargate is a serverless compute engine... With Fargate
you don't need to provision and manage servers... This makes it easier to build and operate your containerized applications."
Source: AWS Documentation
"AWS Fargate"
Introduction.
3. Amazon DocumentDB (with MongoDB compatibility): "Amazon DocumentDB is a scalable
highly durable
and fully managed database service for operating mission-critical MongoDB workloads... Amazon DocumentDB is designed to be compatible with your existing MongoDB applications... using your existing MongoDB drivers and tools."
Source: AWS Documentation
"What Is Amazon DocumentDB (with MongoDB Compatibility)?"
Introduction.
4. Comparing EKS Launch Types: "With AWS Fargate
the infrastructure that runs your containers is managed for you. You don't have to provision
patch
or scale groups of virtual machines." This contrasts with the EC2 launch type where the customer is responsible for managing the nodes.
Source: AWS Documentation
"AWS Fargate launch type"
Amazon EKS User Guide.
Keep practicing
Take the free SAA-C03 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SAA-C03 practice questions
- Question 1A solutions architect is designing the architecture for a two-tier web application. The w…
- Question 2A company has a VPC with multiple private subnets that host multiple applications. The ap…
- Question 3A company has established a new AWS account. The account is newly provisioned and no chan…
- Question 4A company wants a flexible compute solution that includes Amazon EC2 instances and AWS Fa…
- Question 5A company deployed a three-tier web application in a single Availability Zone in the us-e…
- Question 6A company serves its website by using an Auto Scaling group of Amazon EC2 instances in a …
