ElasticBeanstalk Flashcards

1
Q

_____ _____ is a service for deploying and scaling web apps developed in many popular languages: java, .net, PHP, Node.js, python, ruby, go, docker on to widely used app server platforms like apache, tomcat, nginx, passenger, and IIS.

A

elastic beanstalk

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

You upload the code, and ________ will handle deployment, capcacity provisioning, load balancing, auto scaling, and application health.

A

beanstalk

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

Beanstalk

you retain full control of the underlying AWS resources powering your app and you pay only for the AWS resources required to stire and run your apps ie: ec2 and s3.

T or F

A

True

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

Beanstalk is the fastest and simplest way to deploy your app in AWS

T or F

A

True

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

Beanstalk auto scales your app up and down

T or F

A

True

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

With beanstalk, you can select the EC2 isntace type that is optimal for your app.

T or F

A

True

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

With Breanstalk, you cna retin full administrative control over the resources powering your app, or have EB do it for you.

T or F

A

True

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

managed platform updates feature automatically applies updates for your OS, Java, PHP, Node.js, etc.

T or F

A

True

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

bealstanlk allows you to monitor and manage app health via a dashboard

T or F

A

True

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

beanstalk is integrated with cloudtrail and cloudforamtion for performance and data metrics

T or F

A

False

Beanstalk is integrated with cloudwatch and x-ray for performance and data metrics.

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

T or F

Beanstalk suppprts several options for processing deployments:

All at once

rolling

rolling with additional batch

immutable

A

True

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

T or F

All at once deployment updates deploys the new version to all instances simultaneously

A

True

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

T or F

All at once deployments none of your instances are out of service while the deployment takes place.

A

False

All of your instances are out of service when the deployment takes place

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

T or F

All at once deployments - you iwll experience an outage while the deployment is taking place - not ideal for missions critical prod systems.

A

True

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

T or F

All at once deployments….if the update fails, you need to roll back the changes by re-deploying the original version to all your instances.

A

True

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

Rolling deployment policy…

  • Deploys the new version in batches

T or F

A

True

17
Q

Rolling deployment policy…

  • each batch of instances is taken our of service while the dpeloyment takes place.

T or F

A

True

18
Q

Rolling deployment policy…

your environment capacity will be reduces by the number of instances in a batch while the deployment takes place.

T or F

A

True

19
Q

Rolling deployment policy…

is ideal for performance sensitive systems.

T or F

A

False

Is not idea for performance sensitive systems.

20
Q

Rolling deployment policy…

IF the update fails, you need to perform an additional rolling update to roll back the changes.

T or F

A

True

21
Q

Rolling with additional batch policy

Launces additional batch of instances.

T or F

A

True

22
Q

Rolling with additional batch policy

Deploys the pervious version in batches

T or F

A

False

Deploys the new version in batches.

23
Q

Rolling with additional batch policy

maintains full capacity during the deployment process.

T or F

A

True

24
Q

Rolling with additional batch policy

If the update fails, you need to perform an additional rolling update to roll back the changes.

T or F

A

True

25
Q

Immutable deployment policy

deploys the new version to a fresh group of instances in their own ASG

T or F

A

True

26
Q

Immutable deployment policy

when the new instances pass their health checks, they are moved to your existing ASG; and finally, the old isntances are terminated

T or F

A

True

27
Q

Immutable deployment policy

maintains full capacity during deployment process

T or F

A

true

28
Q

Immutable deployment policy

the impact of a failed update is far less, and the rollback process requires only terminating the new ASG

T or F

A

True

29
Q

Immutable deployment policy

Preferred option for mission critical prod systems

T or F

A

True

30
Q

T or F

Advanced Elastic Beanstalk

You can customize your EB env using EB config files.

ie: you can define packages to isntall, create Linux users and groups, run shell commands, specify services to enable or configure your LB,. These files are written in YAML or JSON format. they can have a filename of your choice but must have a config extension and be saved inside a folder called .ebextensions.

A

True

31
Q

Advanced Elastic Beanstalk

Location of Concifg files

T or F

The .ebextensions folder must be included in the top-level directory of your app source code bundle. This means that the config files can be placed under source control along with the rest of your app code.

A

True

32
Q

Advanced Beanstalk

T or F

  • You can customize your EB env by adding config files
  • the files are writtin in YAML, JSON, and C++
  • Files have a .txt extension
  • The .config files are saved to the .ebextensions folder
  • Your .ebextentions folder must be located in the top level directory of your app source code bundle.
A

T, F, F, T, T

The files are written in YAML, and JSON

File have a .config extension

33
Q

RDS and Beanstalk

T or F

  • EB supports 3 ways of integrating an RDS DB with your beanstalk environment.
  • You can launch the RDS instance from withing the EB console, which means the RDS instance is created within your EB env. A good option for dev and test.
  • However, this may not be ideal if your DB is tied to the lifecycle of your app env. If you terminate the env, the DB instance will be terminated too.
A

F, T, T

-EB supports 2 ways of integrating an RDS DB with your beanstalk environment.

34
Q

RDS and EB

T or F

  • For the prod env, the preferred option is to decouple the RDS instance from your EBS env. ie: launch it outside of EB directly from the RDS section of the console.
  • This option gives you a lot more flexibility, allows you to connect multiple env. to the same DB, provides a wider choice of DB types, and allows you to tear down your app env. without affecting the DB instance.
A

T, T

35
Q

ACCESS TO RDS FROM EB

T or F

  • To allow the EC2 instances in your EB env. to connect to an ourside DB, there are 2 additional config steps required:
    1. An additional SG must be added to your env’s ASG.
    2. You’ll need to provide connection string config info to your app services (endpoint, PW) using EB env. properties.
A

T, T

36
Q
A