Professional Cloud Database Engineer Practice Exam — Free Online
QuestionQ1
Deploy scalable and highly available databases in Google Cloud
Save question
An online delivery business that mainly serves retail customers uses Cloud SQL for MySQL for its inventory and scheduling application. As part of the high-availability and disaster-recovery design, the required recovery time objective (RTO) and recovery point objective (RPO) must be measured in minutes rather than hours. You need a high-availability configuration that can recover with no data loss during either a zonal or regional failure. What should you do?
ASet up all read replicas in a different region using asynchronous replication.
BSet up all read replicas in the same region as the primary instance with synchronous replication.
CSet up read replicas in different zones of the same region as the primary instance with synchronous replication, and set up read replicas in different regions with asynchronous replication.
DSet up read replicas in different zones of the same region as the primary instance with asynchronous replication, and set up read replicas in different regions with synchronous replication.
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ2
Deploy scalable and highly available databases in Google Cloud
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ3
Deploy scalable and highly available databases in Google Cloud
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ4
Design scalable and highly available cloud database solutions
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ5
Migrate data solutions
0
Community Discussion
No comments yet. Be the first to start the discussion!
It's free
100% of the questions are free for all users. No strings attached.
Design scalable and highly available cloud database solutionsManage a solution that can span multiple database solutionsMigrate data solutionsDeploy scalable and highly available databases in Google Cloud
Your company is building a global ecommerce website on Google Cloud. The development team is creating a shopping-cart service that must be durable and elastically scalable under live traffic. Business disruption from unplanned downtime must remain below 5 minutes per month. Additionally, the application requires very low-latency writes. You need a data-storage solution with high write throughput and 99.99% uptime. What should you do?
AUse Cloud SQL for data storage.
BUse Cloud Spanner for data storage.
CUse Memorystore for data storage.
DUse Bigtable for data storage.
You are designing a highly available (HA) Cloud SQL for PostgreSQL instance for use by 100 databases. Each database contains 80 tables migrated from your on-premises environment to Google Cloud. The applications that use these databases run in multiple US regions, and you must ensure low latency for both read and write operations. What should you do?
ADeploy 2 Cloud SQL instances in the us-central1 region with HA enabled, and create read replicas in us-east1 and us-west1.
BDeploy 2 Cloud SQL instances in the us-central1 region, and create read replicas in us-east1 and us-west1.
CDeploy 4 Cloud SQL instances in the us-central1 region with HA enabled, and create read replicas in us-central1, us-east1, and us-west1.
DDeploy 4 Cloud SQL instances in the us-central1 region, and create read replicas in us-central1, us-east1 and us-west1.
You are designing a payments-processing application on Google Cloud. The application must keep serving requests and prevent user disruption if a regional failure happens. You need to use AES-256 to encrypt database data and want to control where the encryption key is stored. What should you do?
AUse Cloud Spanner with a customer-managed encryption key (CMEK).
BUse Cloud Spanner with default encryption.
CUse Cloud SQL with a customer-managed encryption key (CMEK).
DUse Bigtable with default encryption.
You are planning to migrate a large Oracle database to AlloyDB for PostgreSQL. The database contains a substantial amount of application logic in stored procedures that must be migrated to the target database. You want to minimize both the migration effort and migration downtime. What should you do?
AUse Ora2pg for schema and code conversion and data migration.
BUse Ora2pg for schema and code conversion. Use the oracle_fdw extension in AlloyDB and replicate data from source to destination by using CREATE TABLE AS SELECT statements.
CUse Database Migration Service. Set up a conversion workspace for schema and code conversion. Create a migration job to perform backfill and change data capture to replicate data from source to destination.
DUse Database Migration Service. Set up a legacy conversion workspace for schema and code conversion. Create a migration job to perform backfill and change data capture to replicate data from source to destination.
QuestionQ6
Deploy scalable and highly available databases in Google Cloud
0
Community Discussion
No comments yet. Be the first to start the discussion!
QuestionQ7
Design scalable and highly available cloud database solutions
QuestionQ8
Deploy scalable and highly available databases in Google Cloud
QuestionQ9
Manage a solution that can span multiple database solutions
QuestionQ10
Deploy scalable and highly available databases in Google Cloud
QuestionQ11
Deploy scalable and highly available databases in Google Cloud
QuestionQ12
Deploy scalable and highly available databases in Google Cloud
QuestionQ13
Migrate data solutions
QuestionQ14
Deploy scalable and highly available databases in Google Cloud
QuestionQ15
Migrate data solutions
QuestionQ16
Migrate data solutions
QuestionQ17
Migrate data solutions
QuestionQ18
Design scalable and highly available cloud database solutions
QuestionQ19
Deploy scalable and highly available databases in Google Cloud
QuestionQ20
Deploy scalable and highly available databases in Google Cloud
QuestionQ21
Deploy scalable and highly available databases in Google Cloud
QuestionQ22
Migrate data solutions
QuestionQ23
Deploy scalable and highly available databases in Google Cloud
QuestionQ24
Deploy scalable and highly available databases in Google Cloud
QuestionQ25
Deploy scalable and highly available databases in Google Cloud
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Ad
Want a break from the ads?
Go ad-free and unlock Learn Mode, Exam Mode, AstroTutor AI and every premium tool — everything you need to walk in prepared, and confident.
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Save question
0
Community Discussion
No comments yet. Be the first to start the discussion!
Your company is adopting AlloyDB for a business-critical application with these requirements:
RTO: Under 4 hours
RPO: 6 hours (maximum tolerated data loss)
Daily backups with a 7-day retention period
You must design a solution that meets these requirements.
What should you do?
AMake a daily backup and store on Cloud Storage.
BSet a longer retention period for automatic backups.
CDisable automatic backups and manually export data to Cloud Storage.
DConfigure automatic backups and enable continuous backup and recovery.
You use Memorystore for Redis to cache frequently accessed data and enhance your application's performance. Recently, the application has experienced sudden latency spikes while interacting with the Memorystore for Redis instance. After reviewing the logs, you find a large number of "evicted keys" messages. You want to reduce both the frequency of latency spikes and their effect on the application. What should you do?
AIncrease the time to live (TTL) value of all the keys within the cache.
BRedeploy your application to the same zone as the Memorystore instance.
CScale the Memorystore instance to a larger memory size.
You released a popular mobile game and use a 50 TB Cloud Spanner instance to store game data in a PITR-enabled production environment. After analyzing game statistics, you discover that some players are exploiting a loophole to collect extra points and reach the leaderboard. Another DBA accidentally executed an emergency bug-fix script that corrupted some production data. You need to assess the extent of the data corruption and restore the production environment. What should you do?
Choose two
AIf the corruption is significant, use backup and restore, and specify a recovery timestamp.
BIf the corruption is significant, perform a stale read and specify a recovery timestamp. Write the results back.
CIf the corruption is significant, use import and export.
DIf the corruption is insignificant, use backup and restore, and specify a recovery timestamp.
EIf the corruption is insignificant, perform a stale read and specify a recovery timestamp. Write the results back.
You have a Cloud SQL for MySQL Enterprise instance with four read replicas. Your next scheduled maintenance event is set for tomorrow at 6 PM. Your security team identifies an important security vulnerability. At 8 PM today, management notifies you to update the primary instance and all four read replicas during approved business downtime today at 11 PM. What should you do?
AReschedule the upcoming scheduled maintenance to happen today at 11 PM.
BPerform self-service maintenance on the selected read replicas.
CPerform self-service maintenance on the primary instance during scheduled business downtime.
DReschedule the upcoming scheduled maintenance of the primary instance to apply updates immediately.
Your digital-native business operates its database workloads on Cloud SQL. Your website must remain globally accessible 24/7. You need to ready your Cloud SQL instance for high availability (HA) and want to follow Google-recommended practices. What should you do?
Choose two
ASet up manual backups.
BCreate a PostgreSQL database on-premises as the HA option.
CConfigure single zone availability for automated backups.
DEnable point-in-time recovery.
ESchedule automated backups.
You are setting up a new Cloud SQL for PostgreSQL database instance in Google Cloud. Your application team wants to deploy one primary instance, one standby instance, and one read replica instance. You must ensure that you follow Google-recommended practices for high availability. What should you do?
AConfigure the primary instance in zone A, the standby instance in zone C, and the read replica in zone B, all in the same region.
BConfigure the primary and standby instances in zone A and the read replica in zone B, all in the same region.
CConfigure the primary instance in one region, the standby instance in a second region, and the read replica in a third region.
DConfigure the primary, standby, and read replica instances in zone A, all in the same region.
Your company is launching a gaming application that uses a Firestore database. You need to determine an easy-to-manage, cost-effective solution for automating the schedule of Firestore data exports. What should you do?
ACreate a new Compute Engine, and set up a cron Job to run the gcloud firestore export command.
BUse Dataflow to create a custom pipeline to extract data from Firestore, transform it into the desired format, and load it into a Cloud Storage bucket at regular intervals.
CUse Cloud Scheduler to trigger a Cloud Function that executes the Firestore export process.
DUse the Firebase Admin SDK to programmatically schedule and manage exports.
Your company is closing its on-premises data center and migrating Oracle databases that use Oracle Real Application Clusters (RAC) to Google Cloud. You want to make minimal or no application changes during the database migration. What should you do?
AMigrate the Oracle databases to Cloud Spanner.
BMigrate the Oracle databases to Compute Engine.
CMigrate the Oracle databases to Cloud SQL.
DMigrate the Oracle databases to Bare Metal Solution for Oracle.
Your DevOps team uses Terraform to deploy applications and Cloud SQL databases. After each new application change is deployed, the environment is destroyed and recreated, causing the persistent database layer to be lost. You need to stop the database from being dropped. What should you do?
ASet Terraform deletion_protection to true.
BRerun terraform apply.
CCreate a read replica.
DUse point-in-time-recovery (PITR) to recover the database.
Your organization runs a critical production database on a Compute Engine virtual machine (VM). The VM uses an ext4-formatted persistent disk for its data files. The database will soon exhaust its available storage. You need to implement a solution that prevents downtime. What should you do?
AIn the Google Cloud Console, increase the size of the persistent disk, and use the resize2fs command to extend the disk.
BIn the Google Cloud Console, increase the size of the persistent disk, and use the fdisk command to verify that the new space is ready to use
CIn the Google Cloud Console, create a snapshot of the persistent disk, restore the snapshot to a new larger disk, unmount the old disk, mount the new disk, and restart the database service.
DIn the Google Cloud Console, create a new persistent disk attached to the VM, and configure the database service to move the files to the new disk.
A retail company currently uses DynamoDB to store product-catalog data. Because data volumes are increasing and the company needs improved scalability, cost efficiency, and AI features, it has decided to migrate its data to Bigtable.
You need a cost-effective migration with minimal downtime and effort while maintaining data consistency between the two databases. What should you do?
AExport the DynamoDB data to CSV files, upload them to Cloud Storage, and use the cbt CLI to import the data into Bigtable.
BCreate a Dataflow pipeline using the DynamoDBIO and BigtableIO connectors to stream data from DynamoDB to Bigtable in near real time.
CDevelop a custom script using the DynamoDB and Bigtable APIs to directly transfer data between the two databases.
DUse Dataproc to export the data from DynamoDB and load it into Bigtable.
Your company runs a critical application on-premises using PostgreSQL. The application needs minimal downtime during migration and must tolerate regional outages. You are evaluating a Cloud SQL Enterprise Plus edition instance running PostgreSQL. You need to ensure the migration meets these requirements with minimal effort.
What should you do?
AUse the PostgreSQL interface for Spanner.
BConfigure cross-region replicas, and test failover.
CSelect standard storage options, and conduct regular database backups.
DFocus on provisioning large compute instances for optimal performance during failover.
Your company runs a globally available, mission-critical inventory-management system on Cloud Spanner. After loading stock keeping unit (SKU) and product-catalog data from a company acquisition, you observed hotspots in the Cloud Spanner database. You want to apply Google-recommended schema-design practices to prevent performance degradation. What should you do?
Choose two
AUse an auto-incrementing value as the primary key.
BNormalize the data model.
CPromote low-cardinality attributes in multi-attribute primary keys.
DPromote high-cardinality attributes in multi-attribute primary keys.
EUse bit-reverse sequential value as the primary key.
Your company is building a new global transactional application that must be ACID compliant and provide 99.999% availability. You are responsible for choosing the appropriate Google Cloud database to act as the datastore for this new application. What should you do?
AUse Firestore.
BUse Cloud Spanner.
CUse Cloud SQL.
DUse Bigtable.
You work for a financial services company that plans to use fully managed database services. Traffic volume for its consumer-services products has risen annually at a constant rate, with occasional spikes around holidays. You regularly need to increase your database capacity. You want to use Cloud Spanner and add an automated way to increase hardware capacity to support greater concurrency. What should you do?
AUse linear scaling to implement the Autoscaler-based architecture
BUse direct scaling to implement the Autoscaler-based architecture.
CUpgrade the Cloud Spanner instance on a periodic basis during the scheduled maintenance window.
DSet up alerts that are triggered when Cloud Spanner utilization metrics breach the threshold, and then schedule an upgrade during the scheduled maintenance window.
Your organization has a security policy requiring that every Cloud SQL for PostgreSQL database be secure. You want to safeguard sensitive data with a key that satisfies particular locality or residency requirements. Your organization must control the key's lifecycle activities. You must ensure that data is encrypted at rest and in transit. What should you do?
ACreate the database with Google-managed encryption keys.
BCreate the database with customer-managed encryption keys.
CCreate the database persistent disk with Google-managed encryption keys.
DCreate the database persistent disk with customer-managed encryption keys.
You are migrating a critical production database from Amazon RDS for MySQL to Cloud SQL for MySQL using Google Cloud's Database Migration Service. You want to minimize disruption to the production database while also optimizing migration performance. What should you do?
ACreate and start multiple Database Migration Service jobs to migrate your database to the target Cloud SQL for MySQL instance.
BUpgrade the Amazon RDS for MySQL primary instance to an instance with more vCPUs and memory, and then run Google Cloud's Database Migration Service.
CCreate a single Database Migration Service migration job with initial load parallelism configured to maximum on the source Amazon RDS for MySQL read replica.
DCreate a single Database Migration Service migration job with initial Load Parallelism configured to Maximum on the Amazon RDS for MySQL primary instance.
Your organization operates a ticketing system that requires an online marketing analytics and reporting application. You need to choose a relational database that can manage hundreds of terabytes of data to support this new application. Which database should you use?
ACloud SQL
BBigQuery
CCloud Spanner
DBigtable
Your organization runs a Firestore-backed Firebase app that delivers the same top ten news stories each day to a large worldwide audience. You want to optimize content delivery while reducing cost and latency. What should you do?
AEnable serializable isolation in the Firebase app.
BDeploy a US multi-region Firestore location.
CBuild a Firestore bundle, and deploy bundles to Cloud CDN.
DCreate a Firestore index on the news story date.
An application sends banking events to Bigtable cluster-a in us-east. You choose to add cluster-b in us-central1, and cluster-a replicates data to cluster-b.
You need Bigtable to keep accepting read and write requests when either cluster becomes unavailable, with requests automatically routed to the other cluster. Which deployment strategy should you use?
AUse the default app profile with single-cluster routing.
BUse the default app profile with multi-cluster routing.
CCreate a custom app profile with multi-cluster routing.
DCreate a custom app profile with single-cluster routing.
Community Discussion