Question 1 of 30
In a microservices architecture deployed on AWS, a company is using AWS Fargate to run its containerized applications. The team needs to define a task that will run a web application and connect to a database service. The task definition must specify the CPU and memory requirements, as well as the container image to be used. If the web application requires 512 MiB of memory and 0.25 vCPU, while the database service requires 1 GiB of memory and 1 vCPU, what is the minimum total memory and CPU required for the task definition to run both services effectively?
1.5 GiB of memory and 1.25 vCPU
1 GiB of memory and 1 vCPU
2 GiB of memory and 1.5 vCPU
1.5 GiB of memory and 1 vCPU