Which scenarios represent the concept of elasticity on AWS?
(Choose two.)
Scaling the number of Amazon EC2 instances based on traffic
Resizing Amazon RDS instances as business needs change
Automatically directing traffic to less-utilized Amazon EC2 instances
Using AWS compliance documents to accelerate the compliance process
Having the ability to create and govern environments using code
Explanations:
Elasticity in AWS refers to adjusting resources to meet demand, and scaling EC2 instances based on traffic is a prime example.
Resizing Amazon RDS instances as business needs change is an example of elasticity, as it adjusts resources based on usage.
Automatically directing traffic is related to load balancing, which improves performance, not elasticity.
Using AWS compliance documents aids in compliance but is not related to resource elasticity.
Creating and governing environments using code is a function of infrastructure as code (IaC), not elasticity.