Design Resilient Architectures Flashcards
Several instances you are creating have a specific data requirement. The requirement states that the data on the root device needs to persist independently from the lifetime of the instance. After considering AWS storage options, which is the simplest way to meet these requirements?
Store your root device data on Amazon EBS and set the DeleteOnTermination attribute to false using a block device mapping.
An Amazon EBS-backed instance can be stopped and later restarted without affecting data stored in the attached volumes. By default, the root volume for an AMI backed by Amazon EBS is deleted when the instance terminates. You can change the default behavior to ensure that the volume persists after the instance terminates. To change the default behavior, set the DeleteOnTermination attribute to false using a block device mapping.
You are working for a large financial institution and have been tasked with creating a relational database solution to deal with a read-heavy workload. The database needs to be highly available within the Oregon region and quickly recover if an Availability Zone goes offline. Which of the following would you select to meet these requirements?
Create a read replica and point your read workloads to the new endpoint RDS provides.
Enable Multi-AZ support for the RDS database.
Recently, a production instance was forced to reboot unexpectedly during business hours, causing significant customer impact. After root cause analysis, it was found that the reboot was caused by AWS due to underlying hardware maintenance that needed to be performed. You have been tasked with finding a way to automate the start and stop of the Amazon EC2 instance in case of similar future events. How would you go about creating the optimal solution for this?
Set up an Amazon EventBridge rule that is triggered by the AWS Health event. Target a Lambda function to parse the incoming event and reference the Amazon EC2 instance, ID included. Have the function perform a stop and start of the instance.
____________ provides ongoing visibility into the state of your AWS resources, services, and accounts. The service provides relevant and timely information to help you manage events in progress and provides proactive notification to help you plan for scheduled activities.
AWS Health
AWS Health is about giving you the visibility and proactive insights you need to keep your AWS services and applications running smoothly.
Your development team has created a gaming application that uses DynamoDB to store user statistics and provide fast game updates back to users. The team has begun testing the application but needs a consistent data set to perform tests with. The testing process alters the dataset, so the baseline data needs to be retrieved upon each new test. Which AWS service can meet this need by exporting data from DynamoDB and importing data into DynamoDB?
Elastic Map Reduce
You can use Amazon EMR with a customized version of Hive that includes connectivity to DynamoDB to perform operations on data stored in DynamoDB
____________ is a cloud-based big data platform offered by Amazon Web Services (AWS). It’s designed to process large amounts of data quickly and cost-effectively across scalable Amazon EC2 instances.
Amazon EMR (Elastic MapReduce) is a cloud-based big data platform offered by Amazon Web Services (AWS). It’s designed to process large amounts of data quickly and cost-effectively across scalable Amazon EC2 instances.
EMR supports several popular distributed computing frameworks including Apache Hadoop, Apache Spark, and Presto. It’s used for data analysis, machine learning, web indexing, data transformations (ETL), financial analysis, scientific simulation, and bioinformatics.
A small development team with very limited AWS knowledge has begun the process of creating and deploying a new frontend application based on React within AWS. The application is simple and does not need any backend processing via traditional databases. The application does, however, require GraphQL interactions to complete the required processing of data. Which AWS service can the team use to complete this?
Deploy a GraphQL interface via AWS AppSync.
This offers a simplified GraphQL interface for development teams to use within AWS.
A managed service that uses GraphQL to make it easy for applications to get exactly the data they need, allowing you to build complex queries and relationships between data.
AWS AppSync
AppSync simplifies application development by letting you create a flexible API to securely access, manipulate, and combine data from one or more data sources with a single network call.
A development platform for building secure, scalable mobile and web applications. It provides a set of tools and services that enables front-end web and mobile developers to build full stack applications powered by AWS.
AWS Amplify
Amplify supports popular web frameworks such as JavaScript, React, Angular, Vue, Next.js as well as mobile platforms including Android, iOS, React Native, Ionic, Flutter.
AWS Amplify provides a declarative interface to work with cloud services, and it can automatically scale your applications to millions of users. Key features of AWS Amplify include authentication, APIs (including both REST and GraphQL through AppSync), storage, function (AWS Lambda), hosting, and more.
What step can you take with your database to configure high-availability and ensure minimal downtime (under five minutes)?
Enable Multi-AZ failover on the database.
In the event of a planned or unplanned outage of your DB instance, Amazon RDS automatically switches to a standby replica in another Availability Zone if you have enabled Multi-AZ. The time it takes for the failover to complete depends on the database activity and other conditions at the time the primary DB instance became unavailable. Failover times are typically 60–120 seconds. However, large transactions or a lengthy recovery process can increase failover time. When the failover is complete, it can take additional time for the RDS console to reflect the new Availability Zone.
Note the above sentences. Large transactions could cause a problem in getting back up within five minutes, but this is clearly the best of the available choices to attempt to meet this requirement.
You suspect that one of the AWS services your company is using has gone down. Which service can provide you proactive and transparent notifications about the status of your specific AWS environment?
AWS Personal Health Dashboard
You want to begin monitoring the EC2 instances using CloudWatch metrics. Which metric is not readily available out of the box?
Memory utilization
Disk swap utilization
Disk space utilization
Page file utilization
Log collection
What AWS services can be used to host a static website, serve content to globally dispersed users, and address latency issues, while keeping cost under control? Choose two.
S3
CloudFront
A virtual network interface that you can attach to an instance in a Virtual Private Cloud (VPC)
Elastic Network Interface (ENI)
ENIs are used to enable network communication to Amazon EC2 instances.
A service that collects data about requests that your application serves and helps gain insights into that data to identify issues and opportunities for optimization.
AWS X-Ray
AWS X-Ray helps developers analyze and debug production, distributed applications, such as those built using a microservices architecture.
AWS Lambda integrates easily with AWS X-Ray by toggling the feature on within the function configuration