Databases on AWS

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

You are building a large order processing system and are responsible for securing the database. Which actions will you take to protect the data? (Choose 3 answers) a. Adjust AWS Identity and Access Management (IAM) permissions for administrators. b. Configure security groups and network Access Control Lists (ACLs) to limit network access. c. Configure database users, and grant permissions to database objects. d. Install anti-virus software on the Amazon RDS DB Instance.

A, B, C. Protecting your database requires a multilayered approach that secures the infrastructure, the network, and the database itself. Amazon RDS is a managed service and direct access to the OS is not available.

Your team manages a popular website running Amazon Relational Database Service (Amazon RDS) MySQL back end. The Marketing department has just informed you about an upcoming television commercial that will drive thousands of new visitors to the website. How can you prepare your database to handle the load? (Choose 3 answers) a. Vertically scale the DB Instance by selecting a more powerful instance class. b. Create read replicas to offload read requests and update your application. c. Upgrade the storage from Magnetic volumes to General Purpose Solid State Drive (SSD) volumes. d. Upgrade to Amazon Redshift for faster columnar storage.

A, B, C. Vertically scaling up is one of the simpler options that can give you additional processing power without making any architectural changes. Read replicas require some application changes but let you scale processing power horizontally. Finally, busy databases are often I/ O- bound, so upgrading storage to General Purpose (SSD) or Provisioned IOPS (SSD) can often allow for additional request processing.

Which of the following techniques can you use to help you meet Recovery Point Objective (RPO) and Recovery Time Objective (RTO) requirements? (Choose 3 answers) a. DB snapshots b. DB option groups c. Read replica d. Multi-AZ deployment

A, C, D. DB snapshots allow you to back up and recover your data, while read replicas and a Multi-AZ deployment allow you to replicate your data and reduce the time to failover.

Which Amazon Relational Database Service (Amazon RDS) database engines support Multi-AZ?

All Amazon RDS database engines support Multi-AZ deployment.

Which AWS database service is best suited for non-relational databases?

Amazon DynamoDB is best suited for non-relational databases. Amazon RDS and Amazon Redshift are both structured relational databases.

When using RDS Multi-AZ, how can you offload read requests from the primary? (Choose 2 answers) a. Configure the connection string of the clients to connect to the secondary node and perform reads while the primary is used for writes. b. Amazon RDS automatically sends writes to the primary and sends reads to the secondary. c. Add a read replica DB instance, and configure the client's application logic to use a read-replica. d. Create a caching environment using ElastiCache to cache frequently used data. Update the application logic to read/ write from the cache.

Amazon RDS allows for the creation of one or more read-replicas for many engines that can be used to handle reads. Another common pattern is to create a cache using Memcached and Amazon ElastiCache to store frequently used queries. The secondary slave DB Instance is not accessible and cannot be used to offload queries.

Which AWS database service is best suited for traditional Online Transaction Processing (OLTP)?

Amazon RDS is best suited for traditional OLTP transactions. Amazon Redshift, on the other hand, is designed for OLAP workloads. Amazon Glacier is designed for cold archival storage.

Which AWS Cloud service is best suited for Online Analytics Processing (OLAP)?

Amazon Redshift is best suited for traditional OLAP transactions. While Amazon RDS can also be used for OLAP, Amazon Redshift is purpose-built as an OLAP data warehouse.

Which of the following workloads are a good fit for running on Amazon Redshift? (Choose 2 answers) a. Transactional database supporting a busy e-commerce order processing website b. Reporting database supporting back-office analytics c. Data warehouse used to aggregate multiple disparate data sources d. Manage session state and user profile data for thousands of concurrent users

B, C. Amazon Redshift is an Online Analytical Processing (OLAP) data warehouse designed for analytics, Extract, Transform, Load (ETL), and high-speed querying. It is not well suited for running transactional applications that require high volumes of small inserts or updates.

Which statement about Amazon DynamoDB tables is true? (Choose 1 answer) a. Global secondary indexes can only be created when the table is being created. b. Local secondary indexes can only be created when the table is being created. c. You can only have one global secondary index. d. You can only have one local secondary index.

B. You can have multiple local secondary indexes, and they must be created at the same time the table is created. You can create multiple global secondary indexes associated with a table at any time.

You have been using Amazon Relational Database Service (Amazon RDS) for the last year to run an important application with automated backups enabled. One of your team members is performing routine maintenance and accidentally drops an important table, causing an outage. How can you recover the missing data while minimizing the duration of the outage?

DB Snapshots can be used to restore a complete copy of the database at a specific point in time. Individual tables cannot be extracted from a snapshot.

You are building the database tier for an enterprise application that gets occasional activity throughout the day. Which storage type should you select as your default option?

General Purpose (SSD) volumes are generally the right choice for databases that have bursts of activity.

You are a solutions architect working for a media company that hosts its website on AWS. Currently, there is a single Amazon Elastic Compute Cloud (Amazon EC2) Instance on AWS with MySQL installed locally to that Amazon EC2 Instance. You have been asked to make the company's production environment more resilient and to increase performance. You suggest that the company split out the MySQL database onto an Amazon RDS Instance with Multi-AZ enabled. This addresses the company's increased resiliency requirements. Now you need to suggest how you can increase performance. Ninety-nine percent of the company's end users are magazine subscribers who will be reading additional articles on the website, so only one percent of end users will need to write data to the site. What should you suggest to increase performance?

In this scenario, the best idea is to use read replicas to scale out the database and thus maximize read performance. When using Multi-AZ, the secondary database is not accessible and all reads and writes must go to the primary or any read replicas.

You are a system administrator whose company has moved its production database to AWS. Your company monitors its estate using Amazon CloudWatch, which sends alarms using Amazon Simple Notification Service (Amazon SNS) to your mobile phone. One night, you get an alert that your primary Amazon Relational Database Service (Amazon RDS) Instance has gone down. You have Multi-AZ enabled on this instance. What should you do to ensure the failover happens quickly?

Monitor the environment while Amazon RDS attempts to recover automatically. AWS will update the DB endpoint to point to the secondary instance automatically.

You are designing an e-commerce web application that will scale to potentially hundreds of thousands of concurrent users. Which database technology is best suited to hold the session state for large numbers of concurrent users?

NoSQL databases like Amazon DynamoDB excel at scaling to hundreds of thousands of requests with key/ value access to user profile and session.

You are working for a small organization without a dedicated database administrator on staff. All of your current workloads use MySQL. You need to install Microsoft SQL Server Enterprise edition quickly to support an accounting back office application on Amazon Relational Database Service (Amazon RDS). What should you do?

Provision SQL Server Enterprise Edition using the License Included option from the Amazon RDS Console.

You are building a photo management application that maintains metadata on millions of images in an Amazon DynamoDB table. When a photo is retrieved, you want to display the metadata next to the image. Which Amazon DynamoDB operation will you use to retrieve the metadata attributes from the table?

Query operation

Which Amazon Relational Database Service (Amazon RDS) database engines support read replicas?

Read replicas are supported by MySQL, MariaDB, PostgreSQL, and Aurora.

You are creating an Amazon DynamoDB table that will contain messages for a social chat application. This table will have the following attributes: Username (String), Timestamp (Number), Message (String). Which attribute should you use as the partition key? The sort key?

Using the Username as a partition key will evenly spread your users across the partitions. Messages are often filtered down by time range, so Timestamp makes sense as a sort key.

Your team is building an order processing system that will span multiple Availability Zones. During testing, the team wanted to test how the application will react to a database failover. How can you enable this type of test?

You can force a failover from one Availability Zone to another by rebooting the primary instance in the AWS Management Console. This is often how people test a failover in the real world. There is no need to create a support case. Baron, Joe; Baz, Hisham; Bixler, Tim; Gaut, Biff; Kelly, Kevin E.; Senior, Sean; Stamper, John. AWS Certified Solutions Architect Official Study Guide: Associate Exam (Kindle Locations 11113-11114). Wiley. Kindle Edition.


Set pelajaran terkait

nursing 6 unit 5 Brunner Med surg (CH 33 - Patients With Nonmalignant Hematologic Disorders)

View Set

310 midtern, Legs 2, Module 1/2 Quiz, Module 3A Quiz, Module 3B/3C Quiz, Legal Exam Questions Modules 1-3

View Set

361: Chapter 22: Neurodevelopmental Disorders

View Set

Mass, Volume, Weight and Density

View Set

American Lit Poetry/Gothic Elements

View Set

in house marketing and service demand

View Set

9. Cellular Pathology 4: Autophagy, Intracellular Accumulations and Calcifications

View Set