Elastic Beanstalk Flashcards

1
Q

You have created a Java application that uses RDS for its main data storage and ElastiCache for user session storage. The application needs to be deployed using Elastic Beanstalk and every new deployment should allow the application servers to reuse the RDS database. On the other hand, user session data stored in ElastiCache can be re-created for every deployment.

Which of the following configurations will allow you to achieve this? (Select two)

  • RDS database defined in .ebextensions/
  • ElastiCache defined in .ebextensions/
  • ElastiCache database defined externally and referenced through environment variables
  • RDS database defined externally and referenced through environment variables
  • ElastiCache bundled with the application source code
A
  • ElastiCache defined in .ebextensions/
  • RDS database defined externally and referenced through environment variables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Which Elastic Beanstalk deployment policies launch new instances?

A
  • Immutable
  • traffic splitting
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When creating configuration files for AWS Elastic Beanstalk which naming convention should you follow?

A

.ebextensions/<mysettings>.config</mysettings>

Example .ebextensions/network-load-balancer.config

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

What are Elastic Beanstalk immutable deployment characteristics?

A
  • Zero downtime
  • Slower
  • Replaces instances
  • Quick and safe rollback
  • Second Auto Scaling group alongside the old, until the new instances pass health checks.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the Elastic Beanstalk traffic splitting characteristics?

A
  • Zero downtime
  • Canary testing
  • Replaces instances
  • Test the health of version using a portion of incoming traffic,
  • Keeps the rest of the traffic served by the old version.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the Elastic Beanstalk environment types?

A
  • Load-balanced
  • Single-instance
  • Dedicated worker
How well did you know this?
1
Not at all
2
3
4
5
Perfectly