Question 1:
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?
Correct Answer: (3) It enables you to run containers without the need to manage any underlying servers or infrastructure, allowing for a more streamlined and focused deployment of your applications. This directly aligns with your goal of migrating and running Docker-based applications on AWS effortlessly.
Question 2:
Amazon Elastic Container Service (ECS) has two Launch Types: ……………… and ………………
Correct Answer: (1) These are the two primary deployment options available in Amazon Elastic Container Service (ECS), allowing you to choose between managing your own servers or using a serverless approach for running containers. This understanding is essential for effectively deploying and managing applications on AWS.
Question 3:
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?
Correct Answer: (2) ECS tasks to interact with AWS services like S3, ensuring your application can upload files as needed. This demonstrates your grasp of IAM roles, which is essential for secure and efficient AWS resource management.
Question 4:
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?
Correct Answer: (1) It allows for persistent and shared storage across different EC2 instances and ECS tasks, ensuring that your Docker containers can consistently access the WordPress website content, which is essential for a seamless migration. This choice effectively addresses the need for scalable, accessible storage in a cloud environment.
Question 5:
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?
Correct Answer: (2) By selecting "Create an IAM task role for the new application," you correctly focused on granting the specific permissions needed for the second application to interact securely with S3, limiting access to only what it requires, and ensuring best security practices in your ECS environment. This choice aligns with the objective of understanding how to configure permissions for applications in AWS.
Question 6:
You are migrating your on-premises Docker-based applications to Amazon ECS. You were using Docker Hub Container Image Library as your container image repository. Which is an alternative AWS service which is fully integrated with Amazon ECS?
Correct Answer: (2) Its role as a fully managed container registry that simplifies storing and managing container images, making it an ideal choice for your ECS applications. ECR's seamless integration with ECS ensures that you can easily retrieve and deploy your container images, supporting efficient migration of your on-premises Docker applications to the cloud.
Question 7:
Amazon EKS supports the following node types, EXCEPT ………………..
Correct Answer: (4) Because AWS Lambda is a serverless computing service that does not manage nodes, whereas the other options - Managed Node Groups, Self-Managed Nodes, and AWS Fargate - are specifically used in Amazon EKS for managing Kubernetes nodes. This demonstrates your understanding of the distinctions between these technologies within the AWS ecosystem.
Question 8:
A developer has a running website and APIs on his local machine using containers and he wants to deploy both of them on AWS. The developer is new to AWS and doesn't know much about different AWS services. Which of the following AWS services allows the developer to build and deploy the website and the APIs in the easiest way according to AWS best practices?
Correct Answer: (1) It provides a simplified, fully managed service for deploying web applications and APIs directly from your source code or container images, which aligns perfectly with your needs as a new developer on AWS. This choice reflects an understanding of best practices for quickly getting applications up and running without the overhead of managing infrastructure.
Top comments (0)