exam questions

Exam AWS Certified Solutions Architect - Professional All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional exam

Exam AWS Certified Solutions Architect - Professional topic 1 question 477 discussion

A company wants to migrate its website from an on-premises data center onto AWS. At the same time, it wants to migrate the website to a containerized microservice-based architecture to improve the availability and cost efficiency. The company's security policy states that privileges and network permissions must be configured according to best practice, using least privilege.
A Solutions Architect must create a containerized architecture that meets the security requirements and has deployed the application to an Amazon ECS cluster.
What steps are required after the deployment to meet the requirements? (Choose two.)

  • A. Create tasks using the bridge network mode.
  • B. Create tasks using the awsvpc network mode.
  • C. Apply security groups to Amazon EC2 instances, and use IAM roles for EC2 instances to access other resources.
  • D. Apply security groups to the tasks, and pass IAM credentials into the container at launch time to access other resources.
  • E. Apply security groups to the tasks, and use IAM roles for tasks to access other resources.
Show Suggested Answer Hide Answer
Suggested Answer: BE 🗳️
Reference:
https://aws.amazon.com/about-aws/whats-new/2017/11/amazon-ecs-introduces-awsvpc-networking-mode-for-containers-to-support-full-networking-capabilities/ https://amazonaws-china.com/blogs/compute/introducing-cloud-native-networking-for-ecs-containers/ https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
huhupai
Highly Voted 3 years, 10 months ago
I would go for B, E. https://amazonaws-china.com/blogs/compute/introducing-cloud-native-networking-for-ecs-containers/ https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
upvoted 23 times
...
donathon
Highly Voted 3 years, 10 months ago
Agree BE
upvoted 14 times
donathon
3 years, 10 months ago
: With the default bridge network mode, containers on an instance are connected to each other using the docker0 bridge. This means you cannot address these containers with the IP address allocated by Docker (it’s allocated from a pool of locally scoped addresses), nor can you enforce finely grained network ACLs and firewall rules. Instead, containers are addressable in your VPC by the combination of the IP address of the primary elastic network interface of the instance, and the host port to which they are mapped (either via static or dynamic port mapping). Also, because a single elastic network interface is shared by multiple containers, it can be difficult to create easily understandable network policies for each container. The awsvpc networking mode addresses these issues by provisioning elastic network interfaces on a per-task basis. Hence, containers no longer share or contend use these resources.
upvoted 12 times
...
...
SkyZeroZx
Most Recent 2 years, 1 month ago
Selected Answer: BE
BE AND E ... GOOD GUESS BY ME ;)
upvoted 2 times
...
Ni_yot
3 years, 5 months ago
B and E looks good
upvoted 1 times
...
AzureDP900
3 years, 8 months ago
I agree with B,E
upvoted 2 times
...
moon2351
3 years, 9 months ago
Answer is B&E
upvoted 1 times
...
WhyIronMan
3 years, 9 months ago
I'll go with B,E
upvoted 3 times
...
Kian1
3 years, 9 months ago
only BE...
upvoted 2 times
...
Ebi
3 years, 9 months ago
BE are correct answer
upvoted 1 times
...
petebear55
3 years, 9 months ago
BE AND E ... GOOD GUESS BY ME ;)
upvoted 3 times
...
T14102020
3 years, 9 months ago
Correct answer BE. Bridge and role
upvoted 1 times
...
Bulti
3 years, 9 months ago
B & E is the right answer
upvoted 3 times
...
jackdryan
3 years, 9 months ago
I'll go with B,E
upvoted 4 times
...
fullaws
3 years, 9 months ago
B and E, awsvpc & task role (not task execution role)
upvoted 1 times
...
noisonnoiton
3 years, 9 months ago
B,E acceptable Amazon EC2 Container Service Task Role
upvoted 1 times
...
NikkyDicky
3 years, 9 months ago
BE for sure
upvoted 1 times
...
mat2020
3 years, 9 months ago
Agree B & E
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...