WorksheetsMQ and ECS
Total questions: 8
Worksheet time: 6mins
You're running many micro-services applications on-premises and they communicate using a message broker that supports MQTT protocol. You're planning to migrate these applications to AWS without re-engineering the applications and modifying the code. Which AWS service allows you to get a managed message broker that supports the MQTT protocol?
Amazon SQS
Amazon SNS
Amazon Kinesis
Amazon MQ
You have multiple Docker-based applications hosted on-premises that you want to migrate to AWS. You don't want to provision or manage any infrastructure; you just want to run your containers on AWS. Which AWS service should you choose?
Elastic Container Service (ECS) in EC2 Launch Mode
Elastic Container Registry (ECR)
AWS Fargate on ECS
Elastic Cloud Compute
Amazon Elastic Container Service (ECS) has two Launch Types: .................. and ..................
EC2 and Fargate
EC2 and EKS
EKS and Fargate
You have an application hosted on an ECS Cluster (EC2 Launch Type) where you want your ECS tasks to upload files to an S3 bucket. Which IAM Role for your ECS Tasks should you modify?
EC2 Instance Profile
ECS Task Role
You're planning to migrate a WordPress website running on Docker containers from on-premises to AWS. You have decided to run the application in an ECS Cluster, but you want your docker containers to access the same WordPress website content such as website files, images, videos, etc. What do you recommend to achieve this?
Mount an EFS volume
Mount an EBS volume
Use an EC2 Instance Store
You are deploying an application on an ECS Cluster made of EC2 instances. Currently, the cluster is hosting one application that is issuing API calls to DynamoDB successfully. Upon adding a second application, which issues API calls to S3, you are getting authorization issues. What should you do to resolve the problem and ensure proper security?
Edit the EC2 instance role to add permissions to S3
Create an IAM task role for the new application
Enable the Fargate mode
Edi the S3 bucket policy to allow the ECS task
Which feature allows an Application Load Balancer to redirect traffic to multiple ECS Tasks running on the same ECS Container instance?
Dynamic Port Mapping
Automatic Port Mapping
ECS Task Definition
ECS Service
Dynamic Port Mapping
Automatic Port Mapping
ECS Task Definition
ECS Service
A leading social media analytics company is contemplating moving its dockerized application stack into AWS Cloud. The company is not sure about the pricing for using Elastic Container Service (ECS) with the EC2 launch type compared to the Elastic Container Service (ECS) with the Fargate launch type.
Which of the following is correct regarding the pricing for these two services?
ECS with EC2 launch type is charged based on EC2 instances and EBS volumes used. ECS with Fargate launch type is charged based on vCPU and memory resources that the containerized application requests
Both ECS with EC2 launch type and ECS with Fargate launch type are charged based on vCPU and memory resources that the containerized application requests
Both ECS with EC2 launch type and ECS with Fargate launch type are charged based on EC2 instances and EBS volumes used
Both ECS with EC2 launch type and ECS with Fargate launch type are just charged based on Elastic Container Service used per hour
