Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

Professional Cloud Database Engineer

Master the implementation of high-performance database solutions on Google Cloud.

4.8★★★★★(281 ratings)
21,107 studentsAdvanced
Design, deploy, and manage database solutions on Google Cloud. This course validates your ability to work with relational and non-relational databases, including Spanner, Bigtable, and Cloud SQL. Gain expert skills in database migration, performance tuning, and high availability for enterprise-level applications. Prepare to lead your organization's data tier as a certified Professional Cloud Database Engineer.

What you'll learn

  • Evaluate database options
  • Design & Migrate databases
  • Implement for Availability
  • Manage & Monitor operations
  • Secure database environments

PROFESSIONAL-CLOUD-DATABASE-ENGINEER

Lectures2
Questions85
Duration30 week
Students21,107

$20.00

Full Free Question Bank (85 Questions)

Professional Cloud Database Engineer (PROFESSIONAL-CLOUD-DATABASE-ENGINEER) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1

You are developing a new application on a VM that is on your corporate network. The application will use Java Database Connectivity (JDBC) to connect to Cloud SQL for PostgreSQL. Your Cloud SQL instance is configured with IP address 192.168.3.48, and SSL is disabled. You want to ensure that your application can access your database instance without requiring configuration changes to your database. What should you do?

ADefine a connection string using your Google username and password to point to the external (public) IP address of your Cloud SQL instance.
BDefine a connection string using a database username and password to point to the internal (private) IP address of your Cloud SQL instance.
CDefine a connection string using Cloud SQL Auth proxy configured with a service account to point to the internal (private) IP address of your Cloud SQL instance.
DDefine a connection string using Cloud SQL Auth proxy configured with a service account to point to the external (public) IP address of your Cloud SQL instance.
Question #2Part 1Select 2

Your digital-native business runs its database workloads on Cloud SQL. Your website must be globally accessible 24/7. You need to prepare your Cloud SQL instance for high availability (HA). You 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.
Question #3Part 1

Your company wants to move to Google Cloud. Your current data center is closing in six months. You are running a large, highly transactional Oracle application footprint on VMWare. You need to design a solution with minimal disruption to the current architecture and provide ease of migration to Google Cloud. What should you do?

AMigrate applications and Oracle databases to Google Cloud VMware Engine (VMware Engine).
BMigrate applications and Oracle databases to Compute Engine.
CMigrate applications to Cloud SQL.
DMigrate applications and Oracle databases to Google Kubernetes Engine (GKE).
Question #4Part 1

Your customer has a global chat application that uses a multi-regional Cloud Spanner instance. The application has recently experienced degraded performance after a new version of the application was launched. Your customer asked you for assistance. During initial troubleshooting, you observed high read latency. What should you do?

AUse query parameters to speed up frequently executed queries.
BChange the Cloud Spanner configuration from multi-region to single region.
CUse SQL statements to analyze SPANNER_SYS.READ_STATS* tables.
DUse SQL statements to analyze SPANNER_SYS.QUERY_STATS* tables.
Question #5Part 1

Your company has PostgreSQL databases on-premises and on Amazon Web Services (AWS). You are planning multiple database migrations to Cloud SQL in an effort to reduce costs and downtime. You want to follow Google-recommended practices and use Google native data migration tools. You also want to closely monitor the migrations as part of the cutover strategy. What should you do?

AUse Database Migration Service to migrate all databases to Cloud SQL.
BUse Database Migration Service for one-time migrations, and use third-party or partner tools for change data capture (CDC) style migrations.
CUse data replication tools and CDC tools to enable migration.
DUse a combination of Database Migration Service and partner tools to support the data migration strategy.
Question #6Part 1

You are setting up a Bare Metal Solution environment. You need to update the operating system to the latest version. You need to connect the Bare Metal Solution environment to the internet so you can receive software updates. What should you do?

ASetup a static external IP address in your VPC network.
BSet up bring your own IP (BYOIP) in your VPC.
CSet up a Cloud NAT gateway on the Compute Engine VM.
DSet up Cloud NAT service.
Question #7Part 1

Your organization is running a MySQL workload in Cloud SQL. Suddenly you see a degradation in database performance. You need to identify the root cause of the performance degradation. What should you do?

AUse Logs Explorer to analyze log data.
BUse Cloud Monitoring to monitor CPU, memory, and storage utilization metrics.
CUse Error Reporting to count, analyze, and aggregate the data.
DUse Cloud Debugger to inspect the state of an application.
Question #8Part 1

You work for a large retail and ecommerce company that is starting to extend their business globally. Your company plans to migrate to Google Cloud. You want to use platforms that will scale easily, handle transactions with the least amount of latency, and provide a reliable customer experience. You need a storage layer for sales transactions and current inventory levels. You want to retain the same relational schema that your existing platform uses. What should you do?

AStore your data in Firestore in a multi-region location, and place your compute resources in one of the constituent regions.
BDeploy Cloud Spanner using a multi-region instance, and place your compute resources close to the default leader region.
CBuild an in-memory cache in Memorystore, and deploy to the specific geographic regions where your application resides.
DDeploy a Bigtable instance with a cluster in one region and a replica cluster in another geographic region.
Question #9Part 1

You host an application in Google Cloud. The application is located in a single region and uses Cloud SQL for transactional data. Most of your users are located in the same time zone and expect the application to be available 7 days a week, from 6 AM to 10 PM. You want to ensure regular maintenance updates to your Cloud SQL instance without creating downtime for your users. What should you do?

AConfigure a maintenance window during a period when no users will be on the system. Control the order of update by setting non-production instances to earlier and production instances to later.
BCreate your database with one primary node and one read replica in the region.
CEnable maintenance notifications for users, and reschedule maintenance activities to a specific time after notifications have been sent.
DConfigure your Cloud SQL instance with high availability enabled.
Question #10Part 1

Your team recently released a new version of a highly consumed application to accommodate additional user traffic. Shortly after the release, you received an alert from your production monitoring team that there is consistently high replication lag between your primary instance and the read replicas of your Cloud SQL for MySQL instances. You need to resolve the replication lag. What should you do?

AIdentify and optimize slow running queries, or set parallel replication flags.
BStop all running queries, and re-create the replicas.
CEdit the primary instance to upgrade to a larger disk, and increase vCPU count.
DEdit the primary instance to add additional memory.
Question #11Part 1

Your organization operates in a highly regulated industry. Separation of concerns (SoC) and security principle of least privilege (PoLP) are critical. The operations team consists of: Person A is a database administrator. Person B is an analyst who generates metric reports. Application C is responsible for automatic backups. You need to assign roles to team members for Cloud Spanner. Which roles should you assign?

Aroles/spanner.databaseAdmin for Person A
Broles/spanner.databaseAdmin for Person A
Croles/spanner.databaseAdmin for Person A
Droles/spanner.databaseAdmin for Person A
Question #12Part 1

You are designing an augmented reality game for iOS and Android devices. You plan to use Cloud Spanner as the primary backend database for game state storage and player authentication. You want to track in-game rewards that players unlock at every stage of the game. During the testing phase, you discovered that costs are much higher than anticipated, but the query response times are within the SL

AManually scale down the number of nodes after the peak period has passed.
BUse interleaving to co-locate parent and child rows.
CUse the Cloud Spanner query optimizer to determine the most efficient way to execute the SQL query.
DUse granular instance sizing in Cloud Spanner and Autoscaler.
Question #13Part 1

You recently launched a new product to the US market. You currently have two Bigtable clusters in one US region to serve all the traffic. Your marketing team is planning an immediate expansion to APAC. You need to roll out the regional expansion while implementing high availability according to Google-recommended practices. What should you do?

AMaintain a target of 23% CPU utilization by locating:
BMaintain a target of 23% CPU utilization by locating:
CMaintain a target of 35% CPU utilization by locating:
DMaintain a target of 35% CPU utilization by locating:
Question #14Part 1

Your ecommerce website captures user clickstream data to analyze customer traffic patterns in real time and support personalization features on your website. You plan to analyze this data using big data tools. You need a low-latency solution that can store 8 TB of data and can scale to millions of read and write requests per second. What should you do?

AWrite your data into Bigtable and use Dataproc and the Apache Hbase libraries for analysis.
BDeploy a Cloud SQL environment with read replicas for improved performance. Use Datastream to export data to Cloud Storage and analyze with Dataproc and the Cloud Storage connector.
CUse Memorystore to handle your low-latency requirements and for real-time analytics.
DStream your data into BigQuery and use Dataproc and the BigQuery Storage API to analyze large volumes of data.
Question #15Part 1Select 2

Your company uses Cloud Spanner for a mission-critical inventory management system that is globally available. You recently loaded stock keeping unit (SKU) and product catalog data from a company acquisition and observed hotspots in the Cloud Spanner database. You want to follow Google-recommended schema design practices to avoid 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.
Question #16Part 1

You are managing multiple applications connecting to a database on Cloud SQL for PostgreSQL. You need to be able to monitor database performance to easily identify applications with long-running and resource-intensive queries. What should you do?

AUse log messages produced by Cloud SQL.
BUse Query Insights for Cloud SQL.
CUse the Cloud Monitoring dashboard with available metrics from Cloud SQL.
DUse Cloud SQL instance monitoring in the Google Cloud Console.
Question #17Part 1

You are building an application that allows users to customize their website and mobile experiences. The application will capture user information and preferences. User profiles have a dynamic schema, and users can add or delete information from their profile. You need to ensure that user changes automatically trigger updates to your downstream BigQuery data warehouse. What should you do?

AStore your data in Bigtable, and use the user identifier as the key. Use one column family to store user profile data, and use another column family to store user preferences.
BUse Cloud SQL, and create different tables for user profile data and user preferences from your recommendations model. Use SQL to join the user profile data and preferences
CUse Firestore in Native mode, and store user profile data as a document. Update the user profile with preferences specific to that user and use the user identifier to query.
DUse Firestore in Datastore mode, and store user profile data as a document. Update the user profile with preferences specific to that user and use the user identifier to query.
Question #18Part 1Select 2

Your application uses Cloud SQL for MySQL. Your users run reports on data that relies on near-real time; however, the additional analytics caused excessive load on the primary database. You created a read replica for the analytics workloads, but now your users are complaining about the lag in data changes and that their reports are still slow. You need to improve the report performance and shorten the lag in data replication without making changes to the current reports. Which two approaches should you implement? (Choose two.)

ACreate secondary indexes on the replica.
BCreate additional read replicas, and partition your analytics users to use different read replicas.
CDisable replication on the read replica, and set the flag for parallel replication on the read replica. Re-enable replication and optimize performance by setting flags on the primary instance.
DDisable replication on the primary instance, and set the flag for parallel replication on the primary instance. Re-enable replication and optimize performance by setting flags on the read replica.
EMove your analytics workloads to BigQuery, and set up a streaming pipeline to move data and update BigQuery.
Question #19Part 1

You are evaluating Cloud SQL for PostgreSQL as a possible destination for your on-premises PostgreSQL instances. Geography is becoming increasingly relevant to customer privacy worldwide. Your solution must support data residency requirements and include a strategy to: configure where data is stored control where the encryption keys are stored govern the access to data What should you do?

AReplicate Cloud SQL databases across different zones.
BCreate a Cloud SQL for PostgreSQL instance on Google Cloud for the data that does not need to adhere to data residency requirements. Keep the data that must adhere to data residency requirements on-premises. Make application changes to support both databases.
CAllow application access to data only if the users are in the same region as the Google Cloud region for the Cloud SQL for PostgreSQL database.
DUse features like customer-managed encryption keys (CMEK), VPC Service Controls, and Identity and Access Management (IAM) policies.
Question #20Part 1

Your customer is running a MySQL database on-premises with read replicas. The nightly incremental backups are expensive and add maintenance overhead. You want to follow Google-recommended practices to migrate the database to Google Cloud, and you need to ensure minimal downtime. What should you do?

ACreate a Google Kubernetes Engine (GKE) cluster, install MySQL on the cluster, and then import the dump file.
BUse the mysqldump utility to take a backup of the existing on-premises database, and then import it into Cloud SQL.
CCreate a Compute Engine VM, install MySQL on the VM, and then import the dump file.
DCreate an external replica, and use Cloud SQL to synchronize the data to the replica.
Question #21Part 1

Your team uses thousands of connected IoT devices to collect device maintenance data for your oil and gas customers in real time. You want to design inspection routines, device repair, and replacement schedules based on insights gathered from the data produced by these devices. You need a managed solution that is highly scalable, supports a multi-cloud strategy, and offers low latency for these IoT devices. What should you do?

AUse Firestore with Looker.
BUse Cloud Spanner with Data Studio.
CUse MongoD8 Atlas with Charts.
DUse Bigtable with Looker.
Question #22Part 1

Your application follows a microservices architecture and uses a single large Cloud SQL instance, which is starting to have performance issues as your application grows. in the Cloud Monitoring dashboard, the CPU utilization looks normal You want to follow Google-recommended practices to resolve and prevent these performance issues while avoiding any major refactoring. What should you do?

AUse Cloud Spanner instead of Cloud SQL.
BIncrease the number of CPUs for your instance.
CIncrease the storage size for the instance.
DUse many smaller Cloud SQL instances.
Question #23Part 1

You need to perform a one-time migration of data from a running Cloud SQL for MySQL instance in the us-central1 region to a new Cloud SQL for MySQL instance in the us-east1 region. You want to follow Google-recommended practices to minimize performance impact on the currently running instance. What should you do?

ACreate and run a Dataflow job that uses JdbcIO to copy data from one Cloud SQL instance to another.
BCreate two Datastream connection profiles, and use them to create a stream from one Cloud SQL instance to another.
CCreate a SQL dump file in Cloud Storage using a temporary instance, and then use that file to import into a new instance.
DCreate a CSV file by running the SQL statement SELECT...INTO OUTFILE, copy the file to a Cloud Storage bucket, and import it into a new instance.
Question #24Part 1

You are running a mission-critical application on a Cloud SQL for PostgreSQL database with a multi-zonal setup. The primary and read replica instances are in the same region but in different zones. You need to ensure that you split the application load between both instances. What should you do?

AUse Cloud Load Balancing for load balancing between the Cloud SQL primary and read replica instances.
BUse PgBouncer to set up database connection pooling between the Cloud SQL primary and read replica instances.
CUse HTTP(S) Load Balancing for database connection pooling between the Cloud SQL primary and read replica instances.
DUse the Cloud SQL Auth proxy for database connection pooling between the Cloud SQL primary and read replica instances.
Question #25Part 1

Your organization deployed a new version of a critical application that uses Cloud SQL for MySQL with high availability (HA) and binary logging enabled to store transactional information. The latest release of the application had an error that caused massive data corruption in your Cloud SQL for MySQL database. You need to minimize data loss. What should you do?

AOpen the Google Cloud Console, navigate to SQL > Backups, and select the last version of the automated backup before the corruption.
BReload the Cloud SQL for MySQL database using the LOAD DATA command to load data from CSV files that were used to initialize the instance.
CPerform a point-in-time recovery of your Cloud SQL for MySQL database, selecting a date and time before the data was corrupted.
DFail over to the Cloud SQL for MySQL HA instance. Use that instance to recover the transactions that occurred before the corruption.
Question #26Part 1Select 2

You plan to use Database Migration Service to migrate data from a PostgreSQL on-premises instance to Cloud SQL. You need to identify the prerequisites for creating and automating the task. What should you do? (Choose two.)

ADrop or disable all users except database administration users.
BDisable all foreign key constraints on the source PostgreSQL database.
CEnsure that all PostgreSQL tables have a primary key.
DShut down the database before the Data Migration Service task is started.
EEnsure that pglogical is installed on the source PostgreSQL database.
Question #27Part 1

You are using Compute Engine on Google Cloud and your data center to manage a set of MySQL databases in a hybrid configuration. You need to create replicas to scale reads and to offload part of the management operation. What should you do?

AUse external server replication.
BUse Data Migration Service.
CUse Cloud SQL for MySQL external replica.
DUse the mysqldump utility and binary logs.
Question #28Part 1Select 2

Your company is shutting down their data center and migrating several MySQL and PostgreSQL databases to Google Cloud. Your database operations team is severely constrained by ongoing production releases and the lack of capacity for additional on-premises backups. You want to ensure that the scheduled migrations happen with minimal downtime and that the Google Cloud databases stay in sync with the on-premises data changes until the applications can cut over. What should you do? (Choose two.)

AUse Database Migration Service to migrate the databases to Cloud SQL.
BUse a cross-region read replica to migrate the databases to Cloud SQL.
CUse replication from an external server to migrate the databases to Cloud SQL.
DUse an external read replica to migrate the databases to Cloud SQL.
EUse a read replica to migrate the databases to Cloud SQL.
Question #29Part 1

Your company is migrating the existing infrastructure for a highly transactional application to Google Cloud. You have several databases in a MySQL database instance and need to decide how to transfer the data to Cloud SQL. You need to minimize the downtime for the migration of your 500 GB instance. What should you do?

A1. Create a Cloud SQL for MySQL instance for your databases, and configure Datastream to stream your database changes to Cloud SQL.
B1. Create migration job using Database Migration Service.
C1. Create migration job using Database Migration Service.
D1. Use the mysqldump utility to manually initiate a backup of MySQL during the application maintenance window.
Question #30Part 1

Your company uses the Cloud SQL out-of-disk recommender to analyze the storage utilization trends of production databases over the last 30 days. Your database operations team uses these recommendations to proactively monitor storage utilization and implement corrective actions. You receive a recommendation that the instance is likely to run out of disk space. What should you do to address this storage alert?

ANormalize the database to the third normal form.
BCompress the data using a different compression algorithm.
CManually or automatically increase the storage capacity.
DCreate another schema to load older data.
Question #31Part 1

You are managing a mission-critical Cloud SQL for PostgreSQL instance. Your application team is running important transactions on the database when another DBA starts an on-demand backup. You want to verify the status of the backup. What should you do?

ACheck the cloudsql.googleapis.com/postgres.log instance log.
BPerform the gcloud sql operations list command.
CUse Cloud Audit Logs to verify the status.
DUse the Google Cloud Console.
Question #32Part 1

You support a consumer inventory application that runs on a multi-region instance of Cloud Spanner. A customer opened a support ticket to complain about slow response times. You notice a Cloud Monitoring alert about high CPU utilization. You want to follow Google-recommended practices to address the CPU performance issue. What should you do first?

AIncrease the number of processing units.
BModify the database schema, and add additional indexes.
CShard data required by the application into multiple instances.
DDecrease the number of processing units.
Question #33Part 1

Your company uses Bigtable for a user-facing application that displays a low-latency real-time dashboard. You need to recommend the optimal storage type for this read-intensive database. What should you do?

ARecommend solid-state drives (SSD).
BRecommend splitting the Bigtable instance into two instances in order to load balance the concurrent reads.
CRecommend hard disk drives (HDD).
DRecommend mixed storage types.
Question #34Part 1

Your organization has a critical business app that is running with a Cloud SQL for MySQL backend database. Your company wants to build the most fault-tolerant and highly available solution possible. You need to ensure that the application database can survive a zonal and regional failure with a primary region of us-central1 and the backup region of us-east1. What should you do?

A1. Provision a Cloud SQL for MySQL instance in us-central1-a.
B1. Provision a Cloud SQL for MySQL instance in us-central1-a.
C1. Provision a Cloud SQL for MySQL instance in us-central1-a.
D1. Provision a Cloud SQL for MySQL instance in us-central1-a.
Question #35Part 1

You are building an Android game that needs to store data on a Google Cloud serverless database. The database will log user activity, store user preferences, and receive in-game updates. The target audience resides in developing countries that have intermittent internet connectivity. You need to ensure that the game can synchronize game data to the backend database whenever an internet network is available. What should you do?

AUse Firestore.
BUse Cloud SQL with an external (public) IP address.
CUse an in-app embedded database.
DUse Cloud Spanner.
Question #36Part 1Select 2

You released a popular mobile game and are using a 50 TB Cloud Spanner instance to store game data in a PITR-enabled production environment. When you analyzed the game statistics, you realized that some players are exploiting a loophole to gather more points to get on the leaderboard. Another DBA accidentally ran an emergency bugfix script that corrupted some of the data in the production environment. You need to determine 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.
Question #37Part 1

You are starting a large CSV import into a Cloud SQL for MySQL instance that has many open connections. You checked memory and CPU usage, and sufficient resources are available. You want to follow Google-recommended practices to ensure that the import will not time out. What should you do?

AClose idle connections or restart the instance before beginning the import operation.
BIncrease the amount of memory allocated to your instance.
CEnsure that the service account has the Storage Admin role.
DIncrease the number of CPUs for the instance to ensure that it can handle the additional import operation.
Question #38Part 1

You are migrating your data center to Google Cloud. You plan to migrate your applications to Compute Engine and your Oracle databases to Bare Metal Solution for Oracle. You must ensure that the applications in different projects can communicate securely and efficiently with the Oracle databases. What should you do?

ASet up a Shared VPC, configure multiple service projects, and create firewall rules.
BSet up Serverless VPC Access.
CSet up Private Service Connect.
DSet up Traffic Director.
Question #39Part 1

You are running an instance of Cloud Spanner as the backend of your ecommerce website. You learn that the quality assurance (QA) team has doubled the number of their test cases. You need to create a copy of your Cloud Spanner database in a new test environment to accommodate the additional test cases. You want to follow Google-recommended practices. What should you do?

AUse Cloud Functions to run the export in Avro format.
BUse Cloud Functions to run the export in text format.
CUse Dataflow to run the export in Avro format.
DUse Dataflow to run the export in text format.
Question #40Part 1

You need to redesign the architecture of an application that currently uses Cloud SQL for PostgreSQL. The users of the application complain about slow query response times. You want to enhance your application architecture to offer sub-millisecond query latency. What should you do?

AConfigure Firestore, and modify your application to offload queries.
BConfigure Bigtable, and modify your application to offload queries.
CConfigure Cloud SQL for PostgreSQL read replicas to offload queries.
DConfigure Memorystore, and modify your application to offload queries.
Question #41Part 1

You need to migrate existing databases from Microsoft SQL Server 2016 Standard Edition on a single Windows Server 2019 Datacenter Edition to a single Cloud SQL for SQL Server instance. During the discovery phase of your project, you notice that your on-premises server peaks at around 25,000 read IOPS. You need to ensure that your Cloud SQL instance is sized appropriately to maximize read performance. What should you do?

ACreate a SQL Server 2019 Standard on Standard machine type with 4 vCPUs, 15 GB of RAM, and 800 GB of solid-state drive (SSD).
BCreate a SQL Server 2019 Standard on High Memory machine type with at least 16 vCPUs, 104 GB of RAM, and 200 GB of SSD.
CCreate a SQL Server 2019 Standard on High Memory machine type with 16 vCPUs, 104 GB of RAM, and 4 TB of SSD.
DCreate a SQL Server 2019 Enterprise on High Memory machine type with 16 vCPUs, 104 GB of RAM, and 500 GB of SSD.
Question #42Part 1

You are managing a small Cloud SQL instance for developers to do testing. The instance is not critical and has a recovery point objective (RPO) of several days. You want to minimize ongoing costs for this instance. What should you do?

ATake no backups, and turn off transaction log retention.
BTake one manual backup per day, and turn off transaction log retention.
CTurn on automated backup, and turn off transaction log retention.
DTurn on automated backup, and turn on transaction log retention.
Question #43Part 1

You manage a meeting booking application that uses Cloud SQL. During an important launch, the Cloud SQL instance went through a maintenance event that resulted in a downtime of more than 5 minutes and adversely affected your production application. You need to immediately address the maintenance issue to prevent any unplanned events in the future. What should you do?

ASet your production instance's maintenance window to non-business hours.
BMigrate the Cloud SQL instance to Cloud Spanner to avoid any future disruptions due to maintenance.
CContact Support to understand why your Cloud SQL instance had a downtime of more than 5 minutes.
DUse Cloud Scheduler to schedule a maintenance window of no longer than 5 minutes.
Question #44Part 1

You are designing a highly available (HA) Cloud SQL for PostgreSQL instance that will be used by 100 databases. Each database contains 80 tables that were migrated from your on-premises environment to Google Cloud. The applications that use these databases are located in multiple regions in the US, and you need to ensure that read and write operations have low latency. 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.
Question #45Part 1

You work in the logistics department. Your data analysis team needs daily extracts from Cloud SQL for MySQL to train a machine learning model. The model will be used to optimize next-day routes. You need to export the data in CSV format. You want to follow Google-recommended practices. What should you do?

AUse Cloud Scheduler to trigger a Cloud Function that will run a select * from table(s) query to call the cloudsql.instances.export API.
BUse Cloud Scheduler to trigger a Cloud Function through Pub/Sub to call the cloudsql.instances.export API.
CUse Cloud Composer to orchestrate an export by calling the cloudsql.instances.export API.
DUse Cloud Composer to execute a select * from table(s) query and export results.
Question #46Part 1

You are choosing a database backend for a new application. The application will ingest data points from IoT sensors. You need to ensure that the application can scale up to millions of requests per second with sub-10ms latency and store up to 100 TB of history. What should you do?

AUse Cloud SQL with read replicas for throughput.
BUse Firestore, and rely on automatic serverless scaling.
CUse Memorystore for Memcached, and add nodes as necessary to achieve the required throughput.
DUse Bigtable, and add nodes as necessary to achieve the required throughput.
Question #47Part 1

You are designing a payments processing application on Google Cloud. The application must continue to serve requests and avoid any user disruption if a regional failure occurs. You need to use AES-256 to encrypt data in the database, and you want to control where you store the encryption key. 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.
Question #48Part 1

You are managing a Cloud SQL for MySQL environment in Google Cloud. You have deployed a primary instance in Zone A and a read replica instance in Zone B, both in the same region. You are notified that the replica instance in Zone B was unavailable for 10 minutes. You need to ensure that the read replica instance is still working. What should you do?

AUse the Google Cloud Console or gcloud CLI to manually create a new clone database.
BUse the Google Cloud Console or gcloud CLI to manually create a new failover replica from backup.
CVerify that the new replica is created automatically.
DStart the original primary instance and resume replication.
Question #49Part 1

You are migrating an on-premises application to Google Cloud. The application requires a high availability (HA) PostgreSQL database to support business-critical functions. Your company's disaster recovery strategy requires a recovery time objective (RTO) and recovery point objective (RPO) within 30 minutes of failure. You plan to use a Google Cloud managed service. What should you do to maximize uptime for your application?

ADeploy Cloud SQL for PostgreSQL in a regional configuration. Create a read replica in a different zone in the same region and a read replica in another region for disaster recovery.
BDeploy Cloud SQL for PostgreSQL in a regional configuration with HA enabled. Take periodic backups, and use this backup to restore to a new Cloud SQL for PostgreSQL instance in another region during a disaster recovery event.
CDeploy Cloud SQL for PostgreSQL in a regional configuration with HA enabled. Create a cross-region read replica, and promote the read replica as the primary node for disaster recovery.
DMigrate the PostgreSQL database to multi-regional Cloud Spanner so that a single region outage will not affect your application. Update the schema to support Cloud Spanner data types, and refactor the application.
Question #50Part 1

Your team is running a Cloud SQL for MySQL instance with a 5 TB database that must be available 24/7. You need to save database backups on object storage with minimal operational overhead or risk to your production workloads. What should you do?

AUse Cloud SQL serverless exports.
BCreate a read replica, and then use the mysqldump utility to export each table.
CClone the Cloud SQL instance, and then use the mysqldump utlity to export the data.
DUse the mysqldump utility on the primary database instance to export the backup.
Question #51Part 1

You are deploying a new Cloud SQL instance on Google Cloud using the Cloud SQL Auth proxy. You have identified snippets of application code that need to access the new Cloud SQL instance. The snippets reside and execute on an application server running on a Compute Engine machine. You want to follow Google-recommended practices to set up Identity and Access Management (IAM) as quickly and securely as possible. What should you do?

AFor each application code, set up a common shared user account.
BFor each application code, set up a dedicated user account.
CFor the application server, set up a service account.
DFor the application server, set up a common shared user account.
Question #52Part 1

Your organization is running a low-latency reporting application on Microsoft SQL Server. In addition to the database engine, you are using SQL Server Analysis Services (SSAS), SQL Server Reporting Services (SSRS), and SQL Server Integration Services (SSIS) in your on-premises environment. You want to migrate your Microsoft SQL Server database instances to Google Cloud. You need to ensure minimal disruption to the existing architecture during migration. What should you do?

AMigrate to Cloud SQL for SQL Server.
BMigrate to Cloud SQL for PostgreSQL.
CMigrate to Compute Engine.
DMigrate to Google Kubernetes Engine (GKE).
Question #53Part 1

An analytics team needs to read data out of Cloud SQL for SQL Server and update a table in Cloud Spanner. You need to create a service account and grant least privilege access using predefined roles. What roles should you assign to the service account?

Aroles/cloudsql.viewer and roles/spanner.databaseUser
Broles/cloudsql.editor and roles/spanner.admin
Croles/cloudsql.client and roles/spanner.databaseReader
Droles/cloudsql.instanceUser and roles/spanner.databaseUser
Question #54Part 1

You are responsible for designing a new database for an airline ticketing application in Google Cloud. This application must be able to: Work with transactions and offer strong consistency. Work with structured and semi-structured (JSON) data. Scale transparently to multiple regions globally as the operation grows. You need a Google Cloud database that meets all the requirements of the application. What should you do?

AUse Cloud SQL for PostgreSQL with both cross-region read replicas.
BUse Cloud Spanner in a multi-region configuration.
CUse Firestore in Datastore mode.
DUse a Bigtable instance with clusters in multiple regions.
Question #55Part 1

You are writing an application that will run on Cloud Run and require a database running in the Cloud SQL managed service. You want to secure this instance so that it only receives connections from applications running in your VPC environment in Google Cloud. What should you do?

A1. Create your instance with a specified external (public) IP address.
B1. Create your instance with a specified external (public) IP address.
C1. Create your instance with a specified internal (private) IP address.
D1. Create your instance with a specified internal (private) IP address.
Question #56Part 1

You are troubleshooting a connection issue with a newly deployed Cloud SQL instance on Google Cloud. While investigating the Cloud SQL Proxy logs, you see the message Error 403: Access Not Configured. What should you do?

ACheck the app.yaml value cloud_sql_instances for a misspelled or incorrect instance connection name.
BCheck whether your service account has cloudsql.instances.connect permission.
CEnable the Cloud SQL Admin API.
DEnsure that you are using an external (public) IP address interface.
Question #57Part 1

You are working on a new centralized inventory management system to track items available in 200 stores, which each have 500 GB of data. You are planning a gradual rollout of the system to a few stores each week. You need to design an SQL database architecture that minimizes costs and user disruption during each regional rollout and can scale up or down on nights and holidays. What should you do?

AUse Oracle Real Application Cluster (RAC) databases on Bare Metal Solution for Oracle.
BUse sharded Cloud SQL instances with one or more stores per database instance.
CUse a Biglable cluster with autoscaling.
DUse Cloud Spanner with a custom autoscaling solution.
Question #58Part 1

Your organization has strict policies on tracking rollouts to production and periodically shares this information with external auditors to meet compliance requirements. You need to enable auditing on several Cloud Spanner databases. What should you do?

AUse replication to roll out changes to higher environments.
BUse backup and restore to roll out changes to higher environments.
CUse Liquibase to roll out changes to higher environments.
DManually capture detailed DBA audit logs when changes are rolled out to higher environments.
Question #59Part 1

Your organization has a production Cloud SQL for MySQL instance. Your instance is configured with 16 vCPUs and 104 GB of RAM that is running between 90% and 100% CPU utilization for most of the day. You need to scale up the database and add vCPUs with minimal interruption and effort. What should you do?

AIssue a gcloud sql instances patch command to increase the number of vCPUs.
BUpdate a MySQL database flag to increase the number of vCPUs.
CIssue a gcloud compute instances update command to increase the number of vCPUs.
DBack up the database, create an instance with additional vCPUs, and restore the database.
Question #60Part 1

You are configuring a brand new Cloud SQL for PostgreSQL database instance in Google Cloud. Your application team wants you to deploy one primary instance, one standby instance, and one read replica instance. You need to ensure that you are following 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.
Question #61Part 2

You are running a transactional application on Cloud SQL for PostgreSQL in Google Cloud. The database is running in a high availability configuration within one region. You have encountered issues with data and want to restore to the last known pristine version of the database. What should you do?

ACreate a clone database from a read replica database, and restore the clone in the same region.
BCreate a clone database from a read replica database, and restore the clone into a different zone.
CUse the Cloud SQL point-in-time recovery (PITR) feature. Restore the copy from two hours ago to a new database instance.
DUse the Cloud SQL database import feature. Import last week's dump file from Cloud Storage.
Question #62Part 2

Your organization has a security policy to ensure that all Cloud SQL for PostgreSQL databases are secure. You want to protect sensitive data by using a key that meets specific locality or residency requirements. Your organization needs to control the key's lifecycle activities. You need to 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.
Question #63Part 2

Your organization has an existing app that just went viral. The app uses a Cloud SQL for MySQL backend database that is experiencing slow disk performance while using hard disk drives (HDDs). You need to improve performance and reduce disk I/O wait times. What should you do?

AExport the data from the existing instance, and import the data into a new instance with solid-state drives (SSDs).
BEdit the instance to change the storage type from HDD to SSD.
CCreate a high availability (HA) failover instance with SSDs, and perform a failover to the new instance.
DCreate a read replica of the instance with SSDs, and perform a failover to the new instance
Question #64Part 2

You are configuring a new application that has access to an existing Cloud Spanner database. The new application reads from this database to gather statistics for a dashboard. You want to follow Google-recommended practices when granting Identity and Access Management (IAM) permissions. What should you do?

AReuse the existing service account that populates this database.
BCreate a new service account, and grant it the Cloud Spanner Database Admin role.
CCreate a new service account, and grant it the Cloud Spanner Database Reader role.
DCreate a new service account, and grant it the spanner.databases.select permission.
Question #65Part 2

Your retail organization is preparing for the holiday season. Use of catalog services is increasing, and your DevOps team is supporting the Cloud SQL databases that power a microservices-based application. The DevOps team has added instrumentation through Sqlcommenter. You need to identify the root cause of why certain microservice calls are failing. What should you do?

AWatch Query Insights for long running queries.
BWatch the Cloud SQL instance monitor for CPU utilization metrics.
CWatch the Cloud SQL recommenders for overprovisioned instances.
DWatch Cloud Trace for application requests that are failing.
Question #66Part 2

You are designing a database architecture for a global application that stores information about public parks worldwide. The application uses the database for read-only purposes, and a centralized batch job updates the database nightly. You want to select an open source, SQL-compliant database. What should you do?

AUse Bigtable with multi-region clusters.
BUse Memorystore for Redis with multi-zones within a region.
CUse Cloud SQL for PostgreSQL with cross-region replicas.
DUse Cloud Spanner with multi-region configuration.
Question #67Part 2

Your company is migrating their MySQL database to Cloud SQL and cannot afford any planned downtime during the month of December. The company is also concerned with cost, so you need the most cost-effective solution. What should you do?

AOpen a support ticket in Google Cloud to prevent any maintenance in that MySQL instance during the month of December.
BUse Cloud SQL maintenance settings to prevent any maintenance during the month of December.
CCreate MySQL read replicas in different zones so that, if any downtime occurs, the read replicas will act as the primary instance during the month of December.
DCreate a MySQL regional instance so that, if any downtime occurs, the standby instance will act as the primary instance during the month of December.
Question #68Part 2

Your online delivery business that primarily serves retail customers uses Cloud SQL for MySQL for its inventory and scheduling application. The required recovery time objective (RTO) and recovery point objective (RPO) must be in minutes rather than hours as a part of your high availability and disaster recovery design. You need a high availability configuration that can recover without data loss during a zonal or a 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.
Question #69Part 2

Your hotel booking company is expanding into Country A, where personally identifiable information (PII) must comply with regional data residency requirements and audits. You need to isolate customer data in Country A from the rest of the customer data. You want to design a multi-tenancy strategy to efficiently manage costs and operations. What should you do?

AApply a schema data management pattern.
BApply an instance data management pattern.
CApply a table data management pattern.
DApply a database data management pattern.
Question #70Part 2

You work for a financial services company that wants to use fully managed database services. Traffic volume for your consumer services products has increased annually at a constant rate with occasional spikes around holidays. You frequently need to upgrade the capacity of your database. You want to use Cloud Spanner and include an automated method to increase your hardware capacity to support a higher level of 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.
Question #71Part 2

Your organization has a busy transactional Cloud SQL for MySQL instance. Your analytics team needs access to the data so they can build monthly sales reports. You need to provide data access to the analytics team without adversely affecting performance. What should you do?

ACreate a read replica of the database, provide the database IP address, username, and password to the analytics team, and grant read access to required tables to the team.
BCreate a read replica of the database, enable the cloudsql.iam_authentication flag on the replica, and grant read access to required tables to the analytics team.
CEnable the cloudsql.iam_authentication flag on the primary database instance, and grant read access to required tables to the analytics team.
DProvide the database IP address, username, and password of the primary database instance to the analytics, team, and grant read access to required tables to the team.
Question #72Part 2

Your organization stores marketing data such as customer preferences and purchase history on Bigtable. The consumers of this database are predominantly data analysts and operations users. You receive a service ticket from the database operations department citing poor database performance between 9 AM-10 AM every day. The application team has confirmed no latency from their logs. A new cohort of pilot users that is testing a dataset loaded from a third-party data provider is experiencing poor database performance. Other users are not affected. You need to troubleshoot the issue. What should you do?

AIsolate the data analysts and operations user groups to use different Bigtable instances.
BCheck the Cloud Monitoring table/bytes_used metric from Bigtable.
CUse Key Visualizer for Bigtable.
DAdd more nodes to the Bigtable cluster.
Question #73Part 2

Your company is developing a new global transactional application that must be ACID-compliant and have 99.999% availability. You are responsible for selecting the appropriate Google Cloud database to serve as a datastore for this new application. What should you do?

AUse Firestore.
BUse Cloud Spanner.
CUse Cloud SQL.
DUse Bigtable.
Question #74Part 2Select 2

You want to migrate your PostgreSQL database from another cloud provider to Cloud SQL. You plan on using Database Migration Service and need to assess the impact of any known limitations. What should you do? (Choose two.)

AIdentify whether the database has over 512 tables.
BIdentify all tables that do not have a primary key.
CIdentity all tables that do not have at least one foreign key.
DIdentify whether the source database is encrypted using pgcrypto extension.
EIdentify whether the source database uses customer-managed encryption keys (CMEK).
Question #75Part 2

Your organization is running a Firestore-backed Firebase app that serves the same top ten news stories on a daily basis to a large global audience. You want to optimize content delivery while decreasing 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.
Question #76Part 2

You need to migrate a 1 TB PostgreSQL database from a Compute Engine VM to Cloud SQL for PostgreSQL. You want to ensure that there is minimal downtime during the migration. What should you do?

AExport the data from the existing database, and load the data into a new Cloud SQL database.
BUse Migrate for Compute Engine to complete the migration.
CUse Datastream to complete the migration.
DUse Database Migration Service to complete the migration.
Question #77Part 2

You have a large Cloud SQL for PostgreSQL instance. The database instance is not mission-critical, and you want to minimize operational costs. What should you do to lower the cost of backups in this environment?

ASet the automated backups to occur every other day to lower the frequency of backups.
BChange the storage tier of the automated backups from solid-state drive (SSD) to hard disk drive (HDD).
CSelect a different region to store your backups.
DReduce the number of automated backups that are retained to two (2).
Question #78Part 2

You are the primary DBA of a Cloud SQL for PostgreSQL database that supports 6 enterprise applications in production. You used Cloud SQL Insights to identify inefficient queries and now need to identify the application that is originating the inefficient queries. You want to follow Google-recommended practices. What should you do?

AShut down and restart each application.
BWrite a utility to scan database query logs.
CWrite a utility to scan application logs.
DUse query tags to add application-centric database monitoring.
Question #79Part 2

You are designing a database strategy for a new web application. You plan to start with a small pilot in one country and eventually expand to millions of users in a global audience. You need to ensure that the application can run 24/7 with minimal downtime for maintenance. What should you do?

AUse Cloud Spanner in a regional configuration.
BUse Cloud Spanner in a multi-region configuration.
CUse Cloud SQL with cross-region replicas.
DUse highly available Cloud SQL with multiple zones.
Question #80Part 2

Your company is shutting down their on-premises data center and migrating their Oracle databases using Oracle Real Application Clusters (RAC) to Google Cloud. You want minimal to no changes to the applications 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.
Question #81Part 2

Your company wants you to migrate their Oracle, MySQL, Microsoft SQL Server, and PostgreSQL relational databases to Google Cloud. You need a fully managed, flexible database solution when possible. What should you do?

AMigrate all the databases to Cloud SQL.
BMigrate the Oracle, MySQL, and Microsoft SQL Server databases to Cloud SQL, and migrate the PostgreSQL databases to Compute Engine.
CMigrate the MySQL, Microsoft SQL Server, and PostgreSQL databases to Compute Engine, and migrate the Oracle databases to Bare Metal Solution for Oracle.
DMigrate the MySQL, Microsoft SQL Server, and PostgreSQL databases to Cloud SQL, and migrate the Oracle databases to Bare Metal Solution for Oracle.
Question #82Part 2

You are managing a Cloud SQL for PostgreSQL instance in Google Cloud. You need to test the high availability of your Cloud SQL instance by performing a failover. You want to use the cloud command. What should you do?

AUse gcloud sql instances failover .
BUse gcloud sql instances failover .
CUse gcloud sql instances promote-replica .
DUse gcloud sql instances promote-replica .
Question #83Part 2

You use Python scripts to generate weekly SQL reports to assess the state of your databases and determine whether you need to reorganize tables or run statistics. You want to automate this report but need to minimize operational costs and overhead. What should you do?

ACreate a VM in Compute Engine, and run a cron job.
BCreate a Cloud Composer instance, and create a directed acyclic graph (DAG).
CCreate a Cloud Function, and call the Cloud Function using Cloud Scheduler.
DCreate a Cloud Function, and call the Cloud Function from a Cloud Tasks queue.
Question #84Part 2

Your company is using Cloud SQL for MySQL with an internal (private) IP address and wants to replicate some tables into BigQuery in near-real time for analytics and machine learning. You need to ensure that replication is fast and reliable and uses Google-managed services. What should you do?

ADevelop a custom data replication service to send data into BigQuery.
BUse Cloud SQL federated queries.
CUse Database Migration Service to replicate tables into BigQuery.
DUse Datastream to capture changes, and use Dataflow to write those changes to BigQuery.
Question #85Part 2

You are designing a physician portal app in Node.js. This application will be used in hospitals and clinics that might have intermittent internet connectivity. If a connectivity failure occurs, the app should be able to query the cached data. You need to ensure that the application has scalability, strong consistency, and multi-region replication. What should you do?

AUse Firestore and ensure that the PersistenceEnabled option is set to true.
BUse Memorystore for Memcached.
CUse Pub/Sub to synchronize the changes from the application to Cloud Spanner.
DUse Table.read with the exactStaleness option to perform a read of rows in Cloud Spanner.

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!