
2024年11月実際に出るProfessional-Cloud-Database-Engineer試験問題集には正確で更新された問題
Professional-Cloud-Database-Engineer試験問題集でPDF問題とテストエンジン
Google Cloud Certified - Professional Cloud Database Engineerになるためには、複数選択式の問題を含む2時間の試験に合格する必要があります。試験はデータベースアーキテクチャ、データモデリング、データ処理、データセキュリティ、データベース移行、パフォーマンスチューニングなど、幅広いトピックをカバーしています。候補者はGoogle Cloud Platformとデータベース技術を実践的に経験していること、SQLとNoSQLデータベースについて深い理解を持っていることが求められます。この認定試験は、データベース管理者、データベースエンジニア、またはデータアーキテクトとして働く人々にとって、Google Cloud上のデータベースソリューションを管理する能力を証明する上で理想的です。
質問 # 75
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?
- A. Set up a Shared VPC, configure multiple service projects, and create firewall rules.
- B. Set up Traffic Director.
- C. Set up Private Service Connect.
- D. Set up Serverless VPC Access.
正解:A
解説:
https://medium.com/google-cloud/shared-vpc-in-google-cloud-64527e0a409e#:~:text=Unlike%20VPC%20peering%2C%20Shared%20VPC%20connects%20projects%20within%20the%20same%20organization.&text=There%20are%20a%20lot%20of,between%20VPCs%20in%20different%20projects.
質問 # 76
You are choosing a new database backend for an existing application. The current database is running PostgreSQL on an on-premises VM and is managed by a database administrator and operations team. The application data is relational and has light traffic. You want to minimize costs and the migration effort for this application. What should you do?
- A. Migrate the existing database to Cloud Spanner.
- B. Migrate the existing database to Cloud SQL for PostgreSQL.
- C. Migrate the existing database to PostgreSQL running on Compute Engine.
- D. Migrate the existing database to Firestore.
正解:B
質問 # 77
You are migrating a telehealth care company's on-premises data center to Google Cloud. The migration plan specifies:
PostgreSQL databases must be migrated to a multi-region backup configuration with cross-region replicas to allow restore and failover in multiple scenarios.
MySQL databases handle personally identifiable information (PII) and require data residency compliance at the regional level.
You want to set up the environment with minimal administrative effort. What should you do?
- A. Set up different organizations for each database type, and apply policy constraints at the organization level.
- B. Set up Cloud Logging and Cloud Monitoring with Cloud Functions to send an alert every time a new database instance is created, and manually validate the region.
- C. Set up different projects for PostgreSQL and MySQL databases, and apply organizational policy constraints at a project level.
- D. Set up Pub/Sub to ingest data from Cloud Logging, send an alert every time a new database instance is created, and manually validate the region.
正解:A
質問 # 78
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?
- A. Modify the database schema, and add additional indexes.
- B. Shard data required by the application into multiple instances.
- C. Increase the number of processing units.
- D. Decrease the number of processing units.
正解:C
質問 # 79
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?
- A. Use features like customer-managed encryption keys (CMEK), VPC Service Controls, and Identity and Access Management (IAM) policies.
- B. Allow 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.
- C. Replicate Cloud SQL databases across different zones.
- D. Create 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.
正解:B
質問 # 80
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?
- A. Issue a gcloud sql instances patch command to increase the number of vCPUs.
- B. Back up the database, create an instance with additional vCPUs, and restore the database.
- C. Issue a gcloud compute instances update command to increase the number of vCPUs.
- D. Update a MySQL database flag to increase the number of vCPUs.
正解:A
質問 # 81
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?
- A. Use Cloud Load Balancing for load balancing between the Cloud SQL primary and read replica instances.
- B. Use the Cloud SQL Auth proxy for database connection pooling between the Cloud SQL primary and read replica instances.
- C. Use PgBouncer to set up database connection pooling between the Cloud SQL primary and read replica instances.
- D. Use HTTP(S) Load Balancing for database connection pooling between the Cloud SQL primary and read replica instances.
正解:C
解説:
https://severalnines.com/blog/how-achieve-postgresql-high-availability-pgbouncer/
https://cloud.google.com/blog/products/databases/using-haproxy-to-scale-read-only-workloads-on-cloud-sql-for-postgresql This answer is correct because PgBouncer is a lightweight connection pooler for PostgreSQL that can help you distribute read requests between the Cloud SQL primary and read replica instances1. PgBouncer can also improve performance and scalability by reducing the overhead of creating new connections and reusing existing ones1. You can install PgBouncer on a Compute Engine instance and configure it to connect to the Cloud SQL instances using private IP addresses or the Cloud SQL Auth proxy2.
質問 # 82
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?
- A. Open the Google Cloud Console, navigate to SQL > Backups, and select the last version of the automated backup before the corruption.
- B. Fail over to the Cloud SQL for MySQL HA instance. Use that instance to recover the transactions that occurred before the corruption.
- C. Perform a point-in-time recovery of your Cloud SQL for MySQL database, selecting a date and time before the data was corrupted.
- D. Reload the Cloud SQL for MySQL database using the LOAD DATA command to load data from CSV files that were used to initialize the instance.
正解:C
解説:
Binary Logging enabled, with that you can identify the point of time the data was good and recover from that point time. https://cloud.google.com/sql/docs/mysql/backup-recovery/pitr#perform_the_point-in-time_recovery_using_binary_log_positions
質問 # 83
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?
- A. Change the storage tier of the automated backups from solid-state drive (SSD) to hard disk drive (HDD).
- B. Set the automated backups to occur every other day to lower the frequency of backups.
- C. Reduce the number of automated backups that are retained to two (2).
- D. Select a different region to store your backups.
正解:C
解説:
By default, for each instance, Cloud SQL retains seven automated backups, in addition to on-demand backups. You can configure how many automated backups to retain (from 1 to 365). We charge a lower rate for backup storage than for other types of instances. https://cloud.google.com/sql/docs/mysql/backup-recovery/backups
質問 # 84
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?
- A. Configure Memorystore, and modify your application to offload queries.
- B. Configure Bigtable, and modify your application to offload queries.
- C. Configure Firestore, and modify your application to offload queries.
- D. Configure Cloud SQL for PostgreSQL read replicas to offload queries.
正解:A
解説:
"sub-millisecond latency" always involves Memorystore. Furthermore, as we are talking about a relational DB (Cloud SQL), BigTable is not a solution to be considered.
質問 # 85
You are designing for a write-heavy application. During testing, you discover that the write workloads are performant in a regional Cloud Spanner instance but slow down by an order of magnitude in a multi-regional instance. You want to make the write workloads faster in a multi-regional instance. What should you do?
- A. Place the bulk of the read and write workloads closer to the default leader region.
- B. Add more read-write replicas.
- C. Keep the total CPU utilization under 45% in each region.
- D. Use staleness of at least 15 seconds.
正解:B
質問 # 86
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?
- A. Reload the Cloud SQL for MySQL database using the LOAD DATA command to load data from CSV files that were used to initialize the instance.
- B. Open the Google Cloud Console, navigate to SQL > Backups, and select the last version of the automated backup before the corruption.
- C. Fail over to the Cloud SQL for MySQL HA instance. Use that instance to recover the transactions that occurred before the corruption.
- D. Perform a point-in-time recovery of your Cloud SQL for MySQL database, selecting a date and time before the data was corrupted.
正解:A
質問 # 87
You host an application in Google Cloud. The application is located in a single region and uses Cloud SQL for transactional dat a. 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?
- A. Configure 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.
- B. Create your database with one primary node and one read replica in the region.
- C. Enable maintenance notifications for users, and reschedule maintenance activities to a specific time after notifications have been sent.
- D. Configure your Cloud SQL instance with high availability enabled.
正解:A
質問 # 88
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?
- A. roles/spanner.databaseAdmin for Person A
roles/spanner.databaseReader for Person B
roles/spanner.backupAdmin for Application C - B. roles/spanner.databaseAdmin for Person A
roles/spanner.databaseReader for Person B
roles/spanner.backupWriter for Application C - C. roles/spanner.databaseAdmin for Person A
roles/spanner.databaseUser for Person B
roles/spanner databaseReader for Application C - D. roles/spanner.databaseAdmin for Person A
roles/spanner.databaseUser for Person B
roles/spanner.backupWriter for Application C
正解:B
解説:
https://cloud.google.com/spanner/docs/iam#spanner.backupWriter
質問 # 89
You want to migrate an on-premises mission-critical PostgreSQL database to Cloud SQL. The database must be able to withstand a zonal failure with less than five minutes of downtime and still not lose any transactions. You want to follow Google-recommended practices for the migration. What should you do?
- A. Build a change data capture (CDC) pipeline to read transactions from the primary instance, and replicate them to a secondary instance.
- B. Take nightly snapshots of the primary database instance, and restore them in a secondary zone.
- C. Enable high availability (HA) for the database to make it regional.
- D. Create a read replica in another region, and promote the read replica if a failure occurs.
正解:C
質問 # 90
You are managing two different applications: Order Management and Sales Reporting. Both applications interact with the same Cloud SQL for MySQL database. The Order Management application reads and writes to the database 24/7, but the Sales Reporting application is read-only. Both applications need the latest dat a. You need to ensure that the Performance of the Order Management application is not affected by the Sales Reporting application. What should you do?
- A. Create a read replica for the Sales Reporting application.
- B. Use a Cloud SQL federated query for the Sales Reporting application.
- C. Create two separate databases in the instance, and perform dual writes from the Order Management application.
- D. Queue up all the requested reports in PubSub, and execute the reports at night.
正解:A
質問 # 91
......
合格させるGoogle Professional-Cloud-Database-Engineer試験最速合格にはPassTest:https://www.passtest.jp/Google/Professional-Cloud-Database-Engineer-shiken.html
Professional-Cloud-Database-Engineer問題集で必ず試験合格させる:https://drive.google.com/open?id=1otH4Wg0z2TU1gLsCnJnfZQafL7hr0SSb