Design For New Solutions Flashcards

1
Q

You have production instances running in the same account as your dev environment. Your developers occasionally mistakenly stop/terminate production instances. How can you prevent this from happening?

A

You can leverage resource tagging and create an explicit deny IAM policy that would prevent developers from stopping or terminating instances tagged under production.

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

If you have documents that need to be collaborated upon, and you also need strict access controls over who gets to view and edit these documents, what service should you use?

A

AWS has a suite of services similar to Microsoft Office or Gsuite, and one of those services is called Amazon Workdocs. Amazon Workdocs is a fully managed, secure content creation, storage, and collaboration service.

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

You have objects in an S3 bucket that have different retrieval frequencies. To optimize cost and retrieval times, what change should you make?

A

S3 has a new storage class called “S3 Intelligent-Tiering”. S3 IT moves data between two access tiers — frequent access and infrequent access — when access patterns change and is ideal for data with unknown or changing access patterns. What makes this relatively cost-effective is that there are no retrieval fees in S3 Intelligent-Tiering, unlike the S3 IA storage class.

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

How can you quickly scale your applications in AWS while keeping costs low?

A

While EC2 instances are perfectly fine compute option, they tend to be pricey if they are not right-sized or if the capacity consumption is fluctuating. If you can, re-architect your applications to use Containers or Serverless compute options such as ECS, Fargate, Lambda and API Gateway.

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

You would like to automate your application deployments and use blue-green deployment to properly test your updates. Code updates are submitted to an S3 bucket you own. You wish to have a consistent environment where you can test your changes. Which services will help you fulfill this scenario?

A

Create a deployment pipeline using CodePipeline. Use AWS Lambda to invoke the stages in your pipeline. Use AWS CodeBuild to compile your code, before sending it to AWS Elastic Beanstalk in a blue environment. Have AWS Codebuild test the update in the blue environment. Once testing has succeeded, trigger AWS Lambda to swap the URLs between your blue and green Elastic Beanstalk environments. More information here. https://aws.amazon.com/quickstart/architecture/blue-green-deployment/

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

Your company only allows the use of pre-approved AMIs for all your teams. However, users should not be prevented from launching unauthorized AMIs as it might affect some of their automation. How can you monitor all EC2 instances launched to make sure they are compliant with your approved AMI list, and that you are informed when someone uses an incompliant AMI?

A

Utilize AWS Config to monitor AMI compliance across all AWS accounts. Configure Amazon SNS to notify you when an EC2 instance was launched using an un-approved AMI. You can also use Amazon EventBridge to monitor each RunInstance event. Use it to trigger a Lambda function that will cross check the launch configuration to your AMI list and send you a notification via SNS if the AMI used was un-approved. This will give you more information such as who launched the instance.

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

How can you build a fully automated call center in AWS?

A

Utilize Amazon Connect, Amazon Lex, Amazon Polly, and AWS Lambda.

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

You have a large number of video files that are being processed locally by your custom AI application for facial detection and recognition. These video files are kept in a tape library for long term storage. Video metadata and timestamps of detected faces are stored in MongoDB. You decided to use AWS to further enhance your operations, but the migration procedure should have minimal disruption to the existing process. What should be your setup?

A

Use Amazon Storage Gateway Tape Gateway to store your video files in an Amazon S3 bucket. Start importing the video files to your tape gateway after you’ve configured the appliance. Create a Lambda function that will extract the videos from Tape Gateway and forward them to Amazon Rekognition. Use Amazon Rekognition for facial detection and timestamping. Once finished, have Rekognition trigger a Lambda function that will store the resulting information in Amazon DynamoDB.

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

Is it possible in AWS for you to enlist the help of other people to complete tasks that only humans can do?

A

Yes, you can submit tasks in AWS Mechanical Turk and have other people complete them in exchange for a fee.

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

You have a requirement to enforce HTTPS for all your connections but you would like to offload the SSL/TLS to a separate server to reduce the impact on application performance. Unfortunately, the region you are using does not support AWS ACM. What can be your alternative?

A

You cannot use ACM in another region for this purpose since ACM is a regional service. Generate your own certificate and upload it to AWS IAM. Associate the imported certificate with an elastic load balancer. More information here. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_server-certs.html

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

Implement for DDoS Resiliency

A

AWS WAF
AWS Shield*** chose shield over WAF if need to on the exam

Route53
Cloudfront

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