Book Image

AWS Certified Database – Specialty (DBS-C01) Certification Guide

By : Kate Gawron
5 (1)
Book Image

AWS Certified Database – Specialty (DBS-C01) Certification Guide

5 (1)
By: Kate Gawron

Overview of this book

The AWS Certified Database – Specialty certification is one of the most challenging AWS certifications. It validates your comprehensive understanding of databases, including the concepts of design, migration, deployment, access, maintenance, automation, monitoring, security, and troubleshooting. With this guide, you'll understand how to use various AWS databases, such as Aurora Serverless and Global Database, and even services such as Redshift and Neptune. You’ll start with an introduction to the AWS databases, and then delve into workload-specific database design. As you advance through the chapters, you'll learn about migrating and deploying the databases, along with database security techniques such as encryption, auditing, and access controls. This AWS book will also cover monitoring, troubleshooting, and disaster recovery techniques, before testing all the knowledge you've gained throughout the book with the help of mock tests. By the end of this book, you'll have covered everything you need to pass the DBS-C01 AWS certification exam and have a handy, on-the-job desk reference guide.
Table of Contents (24 chapters)
1
Part 1: Introduction to Databases on AWS
Free Chapter
2
Chapter 1: AWS Certified Database – Specialty Overview
5
Part 2: Workload-Specific Database Design
12
Part 3: Deployment and Migration and Database Security
16
Part 4: Monitoring and Optimization
20
Part 5: Assessment
21
Chapter 16: Exam Practice

Adding caching to a database system

In this hands-on lab, we are going to provision a Redis database to act as a cache for an existing RDS instance. We will create a Redis cluster and configure it to act as our cache, and then we will create and run some simple code on an EC2 instance that will connect to it to demonstrate the caching.

If you do not have an existing VPC and RDS MySQL database provisioned, then please create those first, following the guides from earlier chapters if required. The MySQL database should contain the Sakila sample tables.

Firstly, we are going to create our Redis cluster:

  1. Log in to the AWS Management Console as an admin user.
  2. Navigate to ElastiCache from the main menu.
  3. From the ElastiCache dashboard, select Get Started Now. If this page does not appear, you can select Redis from the left-hand menu and then click Create:

Figure 9.3 – Create ElastiCache

  1. Complete the form with the following options...