最新 [2025年10月15日] リアルGoogle Associate-Data-Practitioner試験問題集解答 [Q47-Q64]

Share

最新 [2025年10月15日] リアルGoogle Associate-Data-Practitioner試験問題集解答

Associate-Data-Practitioner問題集を使って一日でGoogle Cloud Platform試験合格(最新の108解答)


Google Associate-Data-Practitioner 認定試験の出題範囲:

トピック出題範囲
トピック 1
  • Data Management: This domain measures the skills of Google Database Administrators in configuring access control and governance. Candidates will establish principles of least privilege access using Identity and Access Management (IAM) and compare methods of access control for Cloud Storage. They will also configure lifecycle management rules to manage data retention effectively. A critical skill measured is ensuring proper access control to sensitive data within Google Cloud services
トピック 2
  • Data Analysis and Presentation: This domain assesses the competencies of Data Analysts in identifying data trends, patterns, and insights using BigQuery and Jupyter notebooks. Candidates will define and execute SQL queries to generate reports and analyze data for business questions.| Data Pipeline Orchestration: This section targets Data Analysts and focuses on designing and implementing simple data pipelines. Candidates will select appropriate data transformation tools based on business needs and evaluate use cases for ELT versus ETL.
トピック 3
  • Data Preparation and Ingestion: This section of the exam measures the skills of Google Cloud Engineers and covers the preparation and processing of data. Candidates will differentiate between various data manipulation methodologies such as ETL, ELT, and ETLT. They will choose appropriate data transfer tools, assess data quality, and conduct data cleaning using tools like Cloud Data Fusion and BigQuery. A key skill measured is effectively assessing data quality before ingestion.

 

質問 # 47
You need to design a data pipeline that ingests data from CSV, Avro, and Parquet files into Cloud Storage.
The data includes raw user input. You need to remove all malicious SQL injections before storing the data in BigQuery. Which data manipulation methodology should you choose?

  • A. ETL
  • B. ETLT
  • C. EL
  • D. ELT

正解:A

解説:
The ETL (Extract, Transform, Load) methodology is the best approach for this scenario because it allows you to extract data from the files, transform it by applying the necessary data cleansing (including removing malicious SQL injections), and then load the sanitized data into BigQuery. By transforming the data before loading it into BigQuery, you ensure that only clean and safe data is stored, which is critical for security and data quality.


質問 # 48
You work for a gaming company that collects real-time player activity data. This data is streamed into Pub
/Sub and needs to be processed and loaded into BigQuery for analysis. The processing involves filtering, enriching, and aggregating the data before loading it into partitioned BigQuery tables. Youneed to design a pipeline that ensures low latency and high throughput while following a Google-recommended approach.
What should you do?

  • A. Use Dataflow to create a streaming pipeline that reads the data from Pub/Sub, processes the data, and writes it to BigQuery using the streaming API.
  • B. Use Dataproc to create an Apache Spark streaming job that reads the data from Pub/Sub, processes the data, and writes it to BigQuery.
  • C. Use Cloud Run functions to subscribe to the Pub/Sub topic, process the data, and write it to BigQuery using the streaming API.
  • D. Use Cloud Composer to orchestrate a workflow that reads the data from Pub/Sub, processes the data using a Python script, and writes it to BigQuery.

正解:A

解説:
Comprehensive and Detailed in Depth Explanation:
Why C is correct:Dataflow is the recommended service for real-time stream processing on Google Cloud.
It provides scalable and reliable processing with low latency and high throughput.
Dataflow's streaming API is optimized for Pub/Sub integration and BigQuery streaming inserts.
Why other options are incorrect:A: Cloud Composer is for batch orchestration, not real-time streaming.
B: Dataproc and Spark streaming are more complex and not as efficient as Dataflow for this task.
D: Cloud Run functions are for stateless, event-driven applications, not continuous stream processing.


質問 # 49
Your team uses the Google Ads platform to visualize metrics. You want to export the data to BigQuery to get more granular insights. You need to execute a one-time transfer of historical data and automatically update data daily. You want a solution that is low-code, serverless, and requires minimal maintenance. What should you do?

  • A. Export the historical data to Cloud Storage by using Storage Transfer Service. Use Pub/Sub to trigger a Dataflow template that loads data for daily automation.
  • B. Export the historical data to BigQuery by using BigQuery Data Transfer Service. Use BigQuery Data Transfer Service for daily automation.
  • C. Export the historical data to BigQuery by using BigQuery Data Transfer Service. Use Cloud Composer for daily automation.
  • D. Export the historical data as a CSV file. Import the file into BigQuery for analysis. Use Cloud Composer for daily automation.

正解:B


質問 # 50
You are predicting customer churn for a subscription-based service. You have a 50 PB historical customer dataset in BigQuery that includes demographics, subscription information, and engagement metrics. You want to build a churn prediction model with minimal overhead. You want to follow the Google-recommended approach. What should you do?

  • A. Use the BigQuery Python client library in a Jupyter notebook to query and preprocess the data in BigQuery. Use the CREATE MODEL statement in BigQueryML to train the churn prediction model.
  • B. Export the data from BigQuery to a local machine. Use scikit-learn in a Jupyter notebook to build the churn prediction model.
  • C. Create a Looker dashboard that is connected to BigQuery. Use LookML to predict churn.
  • D. Use Dataproc to create a Spark cluster. Use the Spark MLlib within the cluster to build the churn prediction model.

正解:A

解説:
Using the BigQuery Python client library to query and preprocess data directly in BigQuery and then leveraging BigQueryML to train the churn prediction model is the Google-recommended approach for this scenario. BigQueryML allows you to build machine learning models directly within BigQuery using SQL, eliminating the need to export data or manage additional infrastructure. This minimizes overhead, scales effectively for a dataset as large as 50 PB, and simplifies the end-to-end process of building and training the churn prediction model.


質問 # 51
You are migrating data from a legacy on-premises MySQL database to Google Cloud. The database contains various tables with different data types and sizes, including large tables with millions of rowsand transactional data. You need to migrate this data while maintaining data integrity, and minimizing downtime and cost.
What should you do?

  • A. Use Database Migration Service to replicate the MySQL database to a Cloud SQL for MySQL instance.
  • B. Use Cloud Data Fusion to migrate the MySQL database to MySQL on Compute Engine.
  • C. Export the MySQL database to CSV files, transfer the files to Cloud Storage by using Storage Transfer Service, and load the files into a Cloud SQL for MySQL instance.
  • D. Set up a Cloud Composer environment to orchestrate a custom data pipeline. Use a Python script to extract data from the MySQL database and load it to MySQL on Compute Engine.

正解:A

解説:
Using Database Migration Service (DMS) to replicate the MySQL database to a Cloud SQL for MySQL instance is the best approach. DMS is a fully managed service designed for migrating databases to Google Cloud with minimal downtime and cost. It supports continuous data replication, ensuring data integrity during the migration process, and handles schema and data transfer efficiently. This solution is particularly suited for large tables and transactional data, as it maintains real-time synchronization between the source and target databases, minimizing downtime for the migration.


質問 # 52
Your organization uses Dataflow pipelines to process real-time financial transactions. You discover that one of your Dataflow jobs has failed. You need to troubleshoot the issue as quickly as possible. What should you do?

  • A. Navigate to the Dataflow Jobs page in the Google Cloud console. Use the job logs and worker logs to identify the error.
  • B. Create a custom script to periodically poll the Dataflow API for job status updates, and send email alerts if any errors are identified.
  • C. Use the gcloud CLI tool to retrieve job metrics and logs, and analyze them for errors and performance bottlenecks.
  • D. Set up a Cloud Monitoring dashboard to track key Dataflow metrics, such as data throughput, error rates, and resource utilization.

正解:A

解説:
To troubleshoot a failed Dataflow job as quickly as possible, you should navigate to the Dataflow Jobs page in the Google Cloud console. The console provides access to detailed job logs and worker logs, which can help you identify the cause of the failure. The graphical interface also allows you to visualize pipeline stages, monitor performance metrics, and pinpoint where the error occurred, making it the most efficient way to diagnose and resolve the issue promptly.


質問 # 53
Your company's ecommerce website collects product reviews from customers. The reviews are loaded as CSV files daily to a Cloud Storage bucket. The reviews are in multiple languages and need to be translated to Spanish. You need to configure a pipeline that is serverless, efficient, and requires minimal maintenance.
What should you do?

  • A. Load the data into BigQuery using a Cloud Run function. Use the BigQuery ML create model statement to train a translation model. Use the model to translate the product reviews within BigQuery.
  • B. Load the data into BigQuery using a Cloud Run function. Create a BigQuery remote function that invokes the Cloud Translation API. Use a scheduled query to translate new reviews.
  • C. Use a Dataflow templates pipeline to translate the reviews using the Cloud Translation API. Set BigQuery as the sink.
  • D. Load the data into BigQuery using Dataproc. Use Apache Spark to translate the reviews by invoking the Cloud Translation API. Set BigQuery as the sink.U

正解:B

解説:
Loading the data into BigQuery using aCloud Run functionand creating aBigQuery remote functionthat invokes theCloud Translation APIis a serverless and efficient approach. With this setup, you can use ascheduled queryin BigQuery to invoke the remote function and translate new product reviews on a regular basis. This solution requires minimal maintenance, as BigQuery handles storage and querying, and the Cloud Translation API provides accurate translations without the need for custom ML model development.


質問 # 54
You have a BigQuery dataset containing sales data. This data is actively queried for the first 6 months. After that, the data is not queried but needs to be retained for 3 years for compliance reasons. You need to implement a data management strategy that meets access and compliance requirements, while keeping cost and administrative overhead to a minimum. What should you do?

  • A. Use BigQuery long-term storage for the entire dataset. Set up a Cloud Run function to delete the data from BigQuery after 3 years.
  • B. Partition a BigQuery table by month. After 6 months, export the data to Coldline storage. Implement a lifecycle policy to delete the data from Cloud Storage after 3 years.
  • C. Store all data in a single BigQuery table without partitioning or lifecycle policies.
  • D. Set up a scheduled query to export the data to Cloud Storage after 6 months. Write a stored procedure to delete the data from BigQuery after 3 years.

正解:B

解説:
Partitioning the BigQuery table by month allows efficient querying of recent data for the first 6 months, reducing query costs. After 6 months, exporting the data toColdline storageminimizes storage costs for data that is rarely accessed but needs to be retained for compliance. Implementing a lifecycle policy in Cloud Storage automates the deletion of the data after 3 years, ensuring compliance while reducing administrative overhead. This approach balances cost efficiency and compliance requirements effectively.


質問 # 55
You work for a financial organization that stores transaction data in BigQuery. Your organization has a regulatory requirement to retain data for a minimum of seven years for auditing purposes. You need to ensure that the data is retained for seven years using an efficient and cost-optimized approach. What should you do?

  • A. Set the dataset-level retention policy in BigQuery to seven years.
  • B. Set the table-level retention policy in BigQuery to seven years.
  • C. Export the BigQuery tables to Cloud Storage daily, and enforce a lifecycle management policy that has a seven-year retention rule.
  • D. Create a partition by transaction date, and set the partition expiration policy to seven years.

正解:B

解説:
Setting a table-level retention policy in BigQuery to seven years is the most efficient and cost-optimized solution to meet the regulatory requirement. A table-level retention policy ensures that the data cannot be deleted or overwritten before the specified retention period expires, providing compliance with auditing requirements while keeping the data within BigQuery for easy access and analysis. This approach avoids the complexity and additional costs of exporting data to Cloud Storage.


質問 # 56
You work for an online retail company. Your company collects customer purchase data in CSV files and pushes them to Cloud Storage every 10 minutes. The data needs to be transformed and loaded into BigQuery for analysis. The transformation involves cleaning the data, removing duplicates, and enriching it with product information from a separate table in BigQuery. You need to implement a low-overhead solution that initiates data processing as soon as the files are loaded into Cloud Storage. What should you do?

  • A. Use Cloud Composer sensors to detect files loading in Cloud Storage. Create a Dataproc cluster, and use a Composer task to execute a job on the cluster to process and load the data into BigQuery.
  • B. Create a Cloud Data Fusion job to process and load the data from Cloud Storage into BigQuery. Create an OBJECT_FINALI ZE notification in Pub/Sub, and trigger a Cloud Run function to start the Cloud Data Fusion job as soon as new files are loaded.
  • C. Schedule a direct acyclic graph (DAG) in Cloud Composer to run hourly to batch load the data from Cloud Storage to BigQuery, and process the data in BigQuery using SQL.
  • D. Use Dataflow to implement a streaming pipeline using an OBJECT_FINALIZE notification from Pub/Sub to read the data from Cloud Storage, perform the transformations, and write the data to BigQuery.

正解:D

解説:
Using Dataflow to implement a streaming pipeline triggered by an OBJECT_FINALIZE notification from Pub/Sub is the best solution. This approach automatically starts the data processing as soon as new files are uploaded to Cloud Storage, ensuring low latency. Dataflow can handle the data cleaning, deduplication, and enrichment with product information from the BigQuery table in a scalable and efficient manner. This solution minimizes overhead, as Dataflow is a fully managed service, and it is well-suited for real-time or near-real-time data pipelines.


質問 # 57
You are a database administrator managing sales transaction data by region stored in a BigQuery table. You need to ensure that each sales representative can only see the transactions in their region. What should you do?

  • A. Create a data masking rule.
  • B. Add a policy tag in BigQuery.
  • C. Create a row-level access policy.
  • D. Grant the appropriate 1AM permissions on the dataset.

正解:C

解説:
Creating arow-level access policyin BigQuery ensures that each sales representative can see only the transactions relevant to their region. Row-level access policies allow you to define fine-grained access control by filtering rows based on specific conditions, such as matching the sales representative's region. This approach enforces security while providing tailored data access, aligning with the principle of least privilege.
Extract from Google Documentation: From "Row-Level Security in BigQuery" (https://cloud.google.com
/bigquery/docs/row-level-security):"Row-level access policies let you restrict access to specific rows in a table based on a filter condition, such as a user's region, providing fine-grained control over data visibility without creating separate tables or views."


質問 # 58
Your company is adopting BigQuery as their data warehouse platform. Your team has experienced Python developers. You need to recommend a fully-managed tool to build batch ETL processes that extract data from various source systems, transform the data using a variety of Google Cloud services, and load the transformed data into BigQuery. You want this tool to leverage your team's Python skills. What should you do?

  • A. Use Dataform with assertions.
  • B. Use Dataflow and pre-built templates.
  • C. Use Cloud Composer with pre-built operators.
  • D. Deploy Cloud Data Fusion and included plugins.

正解:C

解説:
Comprehensive and Detailed In-Depth Explanation:
The tool must be fully managed, support batch ETL, integrate with multiple Google Cloud services, and leverage Python skills.
* Option A: Dataform is SQL-focused for ELT within BigQuery, not Python-centric, and lacks broad service integration for extraction.
* Option B: Cloud Data Fusion is a visual ETL tool, not Python-focused, and requires more UI-based configuration than coding.
* Option C: Cloud Composer (managed Apache Airflow) is fully managed, supports batch ETL via DAGs, integrates with various Google Cloud services (e.g., BigQuery, GCS) through operators, and allows custom Python code in tasks. It's ideal for Python developers per the "Cloud Composer" documentation.


質問 # 59
Your data science team needs to collaboratively analyze a 25 TB BigQuery dataset to support the development of a machine learning model. You want to use Colab Enterprise notebooks while ensuring efficient data access and minimizing cost. What should you do?

  • A. Use BigQuery magic commands within a Colab Enterprise notebook to query and analyze the data.
  • B. Export the BigQuery dataset to Google Drive. Load the dataset into the Colab Enterprise notebook using Pandas.
  • C. Create a Dataproc cluster connected to a Colab Enterprise notebook, and use Spark to process the data in BigQuery.
  • D. Copy the BigQuery dataset to the local storage of the Colab Enterprise runtime, and analyze the data using Pandas.

正解:A

解説:
Comprehensive and Detailed In-Depth Explanation:
For a 25 TB dataset, efficiency and cost require minimizing data movement and leveraging BigQuery's scalability within Colab Enterprise.
* Option A: Exporting 25 TB to Google Drive and loading via Pandas is impractical (size limits, transfer costs) and slow.
* Option B: BigQuery magic commands (%%bigquery) in Colab Enterprise allow direct querying of BigQuery data, keeping processing in the cloud, reducing costs, and enabling collaboration.
* Option C: Dataproc with Spark adds cluster costs and complexity, unnecessary when BigQuery can handle the workload.


質問 # 60
Your retail company wants to predict customer churn using historical purchase data stored in BigQuery. The dataset includes customer demographics, purchase history, and a label indicating whether the customer churned or not. You want to build a machine learning model to identify customers at risk of churning. You need to create and train a logistic regression model for predicting customer churn, using the customer_data table with the churned column as the target label. Which BigQuery ML query should you use?

  • A. CREATE OR REPLACE MODEL churn_prediction_model options(model_type='logistic_reg*) as select ' except(churned) FROM customer data;
  • B. CREATE OR REPLACE MODEL churn_prediction_model OPTIONS (rr.odel_type=' logisric_reg *) AS select * except(churned), churned AS label FROM customer_data;
  • C. CREATE OR REPLACE MODEL churn_prediction_model OPTIONS(model_uype='logisric_reg') AS SELECT * from cusromer_data;
  • D. CREATE OR REPLACE MODEL churn_prediction_model options (model type='logistic_reg') AS select churned as label FROM customer_data;

正解:B

解説:
Comprehensive and Detailed in Depth Explanation:
Why B is correct:BigQuery ML requires the target label to be explicitly named label.
EXCEPT(churned) selects all columns except the churned column, which becomes the features.
churned AS label renames the churned column to label, which is required for BigQuery ML.
logistic_reg is the correct model_type option.
Why other options are incorrect:A: Does not rename the target column to label. Also has a typo in the model type.
C: Only selects the target label, not the features.
D: Has a syntax error with the single quote before except.


質問 # 61
You are responsible for managing Cloud Storage buckets for a research company. Your company has well- defined data tiering and retention rules. You need to optimize storage costs while achieving your data retention needs. What should you do?

  • A. Configure a lifecycle management policy on each bucket to downgrade the storage class and remove objects based on age.
  • B. Configure the buckets to use the Autoclass feature.
  • C. Configure the buckets to use the Standard storage class and enable Object Versioning.
  • D. Configure the buckets to use the Archive storage class.

正解:A

解説:
Configuring alifecycle management policyon each Cloud Storage bucket allows you to automatically transition objects to lower-cost storage classes (such as Nearline, Coldline, or Archive) based on their age or other criteria. Additionally, the policy can automate the removal of objects once they are no longer needed, ensuring compliance with retention rules and optimizing storage costs. This approach aligns well with well- defined data tiering and retention needs, providing cost efficiency and automation.
Extract from Google Documentation: From "Object Lifecycle Management" (https://cloud.google.com
/storage/docs/lifecycle):"Use lifecycle management policies to automatically transition objects to lower-cost storage classes (e.g., Nearline, Coldline) and delete them based on age, optimizing costs according to your specific tiering and retention requirements."


質問 # 62
Your organization's business analysts require near real-time access to streaming data. However, they are reporting that their dashboard queries are loading slowly. After investigating BigQuery query performance, you discover the slow dashboard queries perform several joins and aggregations.
You need to improve the dashboard loading time and ensure that the dashboard data is as up-to-date as possible. What should you do?

  • A. Modify the schema to use parameterized data types.
  • B. Create a scheduled query to calculate and store intermediate results.
  • C. Create materialized views.
  • D. Disable BiqQuery query result caching.

正解:C

解説:
Creatingmaterialized viewsis the best solution to improve dashboard loading time while ensuring that the data is as up-to-date as possible. Materialized views precompute and cache the results of complex joins and aggregations, significantly reducing query execution time for dashboards. They also automatically update as the underlying data changes, ensuring near real-time access to fresh data. This approach optimizes query performance and provides an efficient and scalable solution for streaming data dashboards.
For near real-time dashboards with slow queries involving joins and aggregations, Google recommends materialized views in BigQuery to precompute and refresh results automatically.
* Option A: Scheduled queries compute intermediate results periodically, but they aren't near real-time and require manual scheduling, adding latency.
* Option B: Parameterized data types don't address query performance for joins/aggregations; they're for query flexibility, not optimization.
* Option C: Disabling caching worsens performance by forcing full recomputation each time, contrary to the goal.


質問 # 63
Your company uses Looker to generate and share reports with various stakeholders. You have a complex dashboard with several visualizations that needs to be delivered to specific stakeholders on a recurring basis, with customized filters applied for each recipient. You need an efficient and scalable solution to automate the delivery of this customized dashboard. You want to follow the Google-recommended approach. What should you do?

  • A. Create a script using the Looker Python SDK, and configure user attribute filter values. Generate a new scheduled plan for each stakeholder.
  • B. Create a separate LookML model for each stakeholder with predefined filters, and schedule the dashboards using the Looker Scheduler.
  • C. Use the Looker Scheduler with a user attribute filter on the dashboard, and send the dashboard with personalized filters to each stakeholder based on their attributes.
  • D. Embed the Looker dashboard in a custom web application, and use the application's scheduling features to send the report with personalized filters.

正解:C

解説:
Using the Looker Scheduler with user attribute filters is the Google-recommended approach to efficiently automate the delivery of a customized dashboard. User attribute filters allow you to dynamically customize the dashboard's content based on the recipient's attributes, ensuring each stakeholder sees data relevant to them. This approach is scalable, does not require creating separate models or custom scripts, and leverages Looker's built-in functionality to automate recurring deliveries effectively.


質問 # 64
......

Associate-Data-Practitioner試験正確な問題集で学習ノートと理論:https://www.jpntest.com/shiken/Associate-Data-Practitioner-mondaishu

100% 高得点合格保証Associate-Data-Practitioner無制限108解答:https://drive.google.com/open?id=1usb_eC7uoQcBXWhzxoTaNN9sURITYKFF

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡