Exam Flashcards
What 2 things should you do to improve the deployment time of an Elastic Beanstalk application that has a lot of dependencies?
- Create a Golden AMI with your application
- Create a new Beanstalk Environment for each application and apply blue/green pattern
What gateway should you use if you would like to replace your on-premise NFS v3 drive with something that will leverage the huge capacity of Amazon S3?
- File Gateway
Your bank has an on-premise key store and wants to migrate it to the cloud. It needs to support asymmetrical encryption. What service do you recommend?
Cloud HSM
What are 3 reasons why a website cannot connect to the database anymore?
- DB Security Group inbound rules have changed
- NACL inbound rules have changed
- NACL outbound rules have changed
When deleting a CLoudformation stack, what should you do to keep a snapshot of the EBS volumes for backup and compliance purposes?
Use DeletionPolicy=Snapshot
How can you gain access AWS ISO Certs?
Use AWS Artifact
How should MFA-Delete be enabled on an S3 bucket?
Use the root account with the CLI
You have an ASG in which the Terminate process is suspended. Your ASG goes into a rebalance, what will happen?
The rebalance will start and the EC2 instances will launch. The ASG will grow to 10% of its size and they will not terminate.
What is the best way to properly get billing reports for the different company departments?
Use Cost Allocation Tags
How do you share an AMI with other AWS accounts that belong to the same organization?
Edit the account list that can see the AMI from the AMI console UI and the other accounts can start using it.
What do you do if you want to monitor the number of users that are connected over time, in each region?
Create one Cloudwatch Dashboard and add a graph per region using the region selector in the top right corner of the AWS console
What can you do to access EC2 logs that are part of a Cloudformation stack using cfn-init?
Set On_Failure=Do_Nothing to give you time to debug the logs
Do you need an IAM role to submit an cfn signal?
no
How can you automate restarting an app if the CPU exceeds a limit?
Create a Cloudwatch Alarm when CPU Utilization reaches 100% for 3 periods out of 5 minutes and trigger an EC2 reboot action