Solutions Architecture Discussions Overview Flashcards

1
Q

What are the 5 pillars of a well architected application?

A
  1. cost
  2. performance
  3. reliability
  4. security
  5. operational excellence
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

describe elastic beanstalk

A

elastic beanstalk is a developer-centric view of deploying an application on AWS

it automatically handles capacity provisioning, load balancing, scaling, application health monitoring, etc…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Your website TriangleSunglasses.com is hosted on a fleet of EC2 instances managed by an Auto Scaling Group and fronted by an Application Load Balancer. Your ASG has been configured to scale on-demand based on the traffic going to your website. To reduce costs, you have configured the ASG to scale based on the traffic going through the ALB. To make the solution highly available, you have updated your ASG and set the minimum capacity to 2.

How can you further reduce the costs while respecting the requirements?

A

Reserve two EC2 instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which will NOT help us design a STATELESS application tier?

a. store session data in amazon RDS
b. store session data in amazon elasticache
c. store session data in the client http cookies
d. store session data on ebs volumes

A

d. store session data on ebs volumes

EBS volumes are created in a specific AZ and can only be attached to one EC2 instance at a time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

You want to install software updates on 100s of Linux EC2 instances that you manage. You want to store these updates on shared storage which should be dynamically loaded on the EC2 instances and shouldn’t require heavy operations.

What do you suggest?

A

Store the software updates on EFS and mount EFS as a network drive at startup.

EFS is a network file system (NFS) that allows you to mount the same file system to 100s of EC2 instances. Storing software updates on an EFS allows each EC2 instance to access them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

As a Solutions Architect, you’re planning to migrate a complex ERP software suite to AWS Cloud. You’re planning to host the software on a set of Linux EC2 instances managed by an Auto Scaling Group. The software traditionally takes over an hour to set up on a Linux machine.

How do you recommend you speed up the installation process when there’s a scale-out event?

A

Use a Golden AMI.

Golden AMI is an image that contains all your software installed and configured so that future EC2 instances can boot up quickly from that AMI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

You’re developing an application and would like to deploy it to Elastic Beanstalk with minimal cost. You should run it in ………………

a. single instance mode
b. high availability mode

A

a. single instance mode

The question mentions that you’re still in the development stage and you want to reduce costs. Single Instance Mode will create one EC2 instance and one Elastic IP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You’re deploying your application to an Elastic Beanstalk environment but you notice that the deployment process is painfully slow. After reviewing the logs, you found that your dependencies are resolved on each EC2 instance each time you deploy.

How can you speed up the deployment process with minimal impact?

A

create a golden AMI that contains the dependencies and use that image to launch the EC2 instances

Golden AMI is an image that contains all your software, dependencies, and configurations, so that future EC2 instances can boot up quickly from that AMI.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly