無料Professional-Data-Engineerサンプル問題で100%カバー率のリアル試験問題(更新された392問あります)
今すぐダウンロード!リアルGoogle Professional-Data-Engineer試験問題集テストエンジン試験問題
Google Professional-Data-Engineer認定試験は、データエンジニアリングの分野における専門家の知識とスキルを検証する高度に認められた認定プログラムです。この認定は、データエンジニアがデータ処理システムを設計、構築、維持する能力を実証するだけでなく、パフォーマンスと費用対効果のためにトラブルシューティングと最適化を実証するように設計されています。認定試験では、データ処理システム、データストレージと管理、データ分析と機械学習、セキュリティとコンプライアンスなど、さまざまなトピックをカバーしています。
質問 # 14
When a Cloud Bigtable node fails, ____ is lost.
- A. the time dimension
- B. all data
- C. no data
- D. the last transaction
正解:C
解説:
Explanation
A Cloud Bigtable table is sharded into blocks of contiguous rows, called tablets, to help balance the workload of queries. Tablets are stored on Colossus, Google's file system, in SSTable format. Each tablet is associated with a specific Cloud Bigtable node.
Data is never stored in Cloud Bigtable nodes themselves; each node has pointers to a set of tablets that are stored on Colossus. As a result:
Rebalancing tablets from one node to another is very fast, because the actual data is not copied. Cloud Bigtable simply updates the pointers for each node.
Recovery from the failure of a Cloud Bigtable node is very fast, because only metadata needs to be migrated to the replacement node.
When a Cloud Bigtable node fails, no data is lost
Reference: https://cloud.google.com/bigtable/docs/overview
質問 # 15
You are collecting loT sensor data from millions of devices across the world and storing the data in BigQuery.
Your access pattern is based on recent data tittered by location_id and device_version with the following query:
You want to optimize your queries for cost and performance. How should you structure your data?
- A. Partition table data by create_date, location_id and device_version
- B. Partition table data by create_date cluster table data by tocation_id and device_version
- C. Cluster table data by create_date location_id and device_version
- D. Cluster table data by create_date, partition by location and device_version
正解:C
質問 # 16
You have a variety of files in Cloud Storage that your data science team wants to use in their models Currently, users do not have a method to explore, cleanse, and validate the data in Cloud Storage. You are looking for a low code solution that can be used by your data science team to quickly cleanse and explore data within Cloud Storage. What should you do?
- A. Provide the data science team access to Dataflow to create a pipeline to prepare and validate the raw data and load data into BigQuery for data exploration.
- B. Load the data into BigQuery and use SQL to transform the data as necessary Provide the data science team access to staging tables to explore the raw data.
- C. Provide the data science team access to Dataprep to prepare, validate, and explore the data within Cloud Storage.
- D. Create an external table in BigQuery and use SQL to transform the data as necessary Provide the data science team access to the external tables to explore the raw data.
正解:C
解説:
Dataprep is a low code, serverless, and fully managed service that allows users to visually explore, cleanse, and validate data in Cloud Storage. It also provides features such as data profiling, data quality, data transformation, and data lineage. Dataprep is integrated with BigQuery, so users can easily export the prepared data to BigQuery for further analysis or modeling. Dataprep is a suitable solution for the data science team to quickly and easily work with the data in Cloud Storage, without having to write code or manage infrastructure.
The other options are not as suitable as Dataprep for this use case, because they either require more coding, more infrastructure management, or more data movement. Loading the data into BigQuery, either directly or through Dataflow, would incur additional costs and latency, and may not provide the same level of data exploration and validation as Dataprep. Creating an external table in BigQuery would allow users to query the data in Cloud Storage, but would not provide the same level of data cleansing and transformation as Dataprep. References:
* Dataprep overview
* Dataprep features
* Dataprep and BigQuery integration
質問 # 17
Your neural network model is taking days to train. You want to increase the training speed. What can you do?
- A. Subsample your test dataset.
- B. Increase the number of input features to your model.
- C. Increase the number of layers in your neural network.
- D. Subsample your training dataset.
正解:C
質問 # 18
You are integrating one of your internal IT applications and Google BigQuery, so users can query BigQuery from the application's interface. You do not want individual users to authenticate to BigQuery and you do not want to give them access to the dataset. You need to securely access BigQuery from your IT application.
What should you do?
- A. Integrate with a single sign-on (SSO) platform, and pass each user's credentials along with the query
request - B. Create a dummy user and grant dataset access to that user. Store the username and password for that user in a file on the files system, and use those credentials to access the BigQuery dataset
- C. Create a service account and grant dataset access to that account. Use the service account's private key to access the dataset
- D. Create groups for your users and give those groups access to the dataset
正解:C
質問 # 19
Suppose you have a dataset of images that are each labeled as to whether or not they contain a human face. To create a neural network that recognizes human faces in images using this labeled dataset, what approach would likely be the most effective?
- A. Use K-means Clustering to detect faces in the pixels.
- B. Build a neural network with an input layer of pixels, a hidden layer, and an output layer with two categories.
- C. Use feature engineering to add features for eyes, noses, and mouths to the input data.
- D. Use deep learning by creating a neural network with multiple hidden layers to automatically detect features of faces.
正解:D
解説:
Explanation
Traditional machine learning relies on shallow nets, composed of one input and one output layer, and at most one hidden layer in between. More than three layers (including input and output) qualifies as "deep" learning.
So deep is a strictly defined, technical term that means more than one hidden layer.
In deep-learning networks, each layer of nodes trains on a distinct set of features based on the previous layer's output. The further you advance into the neural net, the more complex the features your nodes can recognize, since they aggregate and recombine features from the previous layer.
A neural network with only one hidden layer would be unable to automatically recognize high-level features of faces, such as eyes, because it wouldn't be able to "build" these features using previous hidden layers that detect low-level features, such as lines.
Feature engineering is difficult to perform on raw image data.
K-means Clustering is an unsupervised learning method used to categorize unlabeled data.
Reference: https://deeplearning4j.org/neuralnet-overview
質問 # 20
Your organization stores highly personal data in BigQuery and needs to comply with strict data privacy regulations. You need to ensure that sensitive data values are rendered unreadable whenever an employee leaves the organization. What should you do?
- A. Use dynamic data masking and revoke viewer permissions when employees leave the organization.
- B. Use column-level access controls with policy tags and revoke viewer permissions when employees leave the organization.
- C. Use customer-managed encryption keys (CMEK) and delete keys when employees leave the organization.
- D. Use AEAD functions and delete keys when employees leave the organization.
正解:D
解説:
Comprehensive and Detailed Explanation:
The core requirement is to make specific data values permanently unreadable, a concept often referred to as cryptographic erasure or "crypto-shredding." Option C is the correct answer because it achieves this at a granular, field-level. BigQuery's AEAD (Authenticated Encryption with Associated Data) functions allow you to encrypt individual field values within your tables using a keyset from Cloud KMS. You can encrypt the sensitive data, store the encrypted value in BigQuery, and when an employee leaves, you simply destroy the specific KMS key version used for their data. Once the key is destroyed, the encrypted data is permanently unrecoverable, thus rendering it unreadable.
Option A and B are incorrect because data masking and column-level access controls are about controlling access to the data, not about making the underlying data itself unreadable. If an administrator with sufficient privileges were to query the table, the data would still be there in its original form. Revoking permissions prevents a specific user from seeing the data, but it doesn't erase it.
Option D is incorrect because Customer-Managed Encryption Keys (CMEK) operate at the entire table level.
Deleting a CMEK key would make the entire table unreadable, which is far too broad and disruptive. The goal is to target specific sensitive values, not destroy whole tables.
Reference (Google Cloud Documentation Concepts):
This solution leverages field-level encryption within BigQuery. The official documentation for "Protecting data with Cloud KMS keys" states that BigQuery's AEAD functions (AEAD.ENCRYPT and AEAD.
DECRYPT) are the intended mechanism for this purpose. This approach provides fine-grained control, allowing you to manage the lifecycle of encrypted data by managing the lifecycle of the encryption keys in Cloud Key Management Service (Cloud KMS). The act of destroying a key version is the mechanism for crypto-shredding.
質問 # 21
Which row keys are likely to cause a disproportionate number of reads and/or writes on a particular node in a Bigtable cluster (select 2 answers)?
- A. A stock symbol followed by a timestamp
- B. A sequential numeric ID
- C. A timestamp followed by a stock symbol
- D. A non-sequential numeric ID
正解:B、C
解説:
...using a timestamp as the first element of a row key can cause a variety of problems.
In brief, when a row key for a time series includes a timestamp, all of your writes will target a single node; fill that node; and then move onto the next node in the cluster, resulting in hotspotting.
Suppose your system assigns a numeric ID to each of your application's users. You might be tempted to use the user's numeric ID as the row key for your table. However, since new users are more likely to be active users, this approach is likely to push most of your traffic to a small number of nodes. [https://cloud.google.com/bigtable/docs/schema-design]
質問 # 22
You have a BigQuery table that ingests data directly from a Pub/Sub subscription. The ingested data is encrypted with a Google-managed encryption key. You need to meet a new organization policy that requires you to use keys from a centralized Cloud Key Management Service (Cloud KMS) project to encrypt data at rest. What should you do?
- A. Create a new BigOuery table and Pub/Sub topic by using customer-managed encryption keys (CMEK), and migrate the data from the old Bigauery table.
- B. Create a new BigOuory table by using customer-managed encryption keys (CMEK), and migrate the data from the old BigQuery table.
- C. Use Cloud KMS encryption key with Dataflow to ingest the existing Pub/Sub subscription to the existing BigQuery table.
- D. Create a new Pub/Sub topic with CMEK and use the existing BigQuery table by using Google-managed encryption key.
正解:B
解説:
To use CMEK for BigQuery, you need to create a key ring and a key in Cloud KMS, and then specify the key resource name when creating or updating a BigQuery table. You cannot change the encryption type of an existing table, so you need to create a new table with CMEK and copy the data from the old table with Google-managed encryption key.
References:
* Customer-managed Cloud KMS keys | BigQuery | Google Cloud
* Creating and managing encryption keys | Cloud KMS Documentation | Google Cloud
質問 # 23
You need to migrate a Redis database from an on-premises data center to a Memorystore for Redis instance.
You want to follow Google-recommended practices and perform the migration for minimal cost. time, and effort. What should you do?
- A. Write a shell script to migrate the Redis data, and create a new Memorystore for Redis instance.
- B. Make an RDB backup of the Redis database, use the gsutil utility to copy the RDB file into a Cloud Storage bucket, and then import the RDB tile into the Memorystore for Redis instance.
- C. Create a Dataflow job to road the Redis database from the on-premises data center. and write the data to a Memorystore for Redis instance
- D. Make a secondary instance of the Redis database on a Compute Engine instance, and then perform a live cutover.
正解:B
解説:
The import and export feature uses the native RDB snapshot feature of Redis to import data into or export data out of a Memorystore for Redis instance. The use of the native RDB format prevents lock-in and makes it very easy to move data within Google Cloud or outside of Google Cloud. Import and export uses Cloud Storage buckets to store RDB files.Reference:https://cloud.google.com/memorystore/docs/redis/import-export- overview
質問 # 24
Your car factory is pushing machine measurements as messages into a Pub/Sub topic in your Google Cloud project. A Dataflow streaming job. that you wrote with the Apache Beam SDK, reads these messages, sends acknowledgment lo Pub/Sub. applies some custom business logic in a Doffs instance, and writes the result to BigQuery. You want to ensure that if your business logic fails on a message, the message will be sent to a Pub
/Sub topic that you want to monitor for alerting purposes. What should you do?
- A. Enable dead lettering in your Pub/Sub pull subscription, and specify a new Pub/Sub topic as the dead letter topic. Use Cloud Monitoring to monitor the subscription/dead_letter_message_count metric on your pull subscription.
- B. Use an exception handling block in your Data Flow's Doffs code to push the messages that failed to be transformed through a side output and to a new Pub/Sub topic. Use Cloud Monitoring to monitor the topic
/num_jnacked_messages_by_region metric on this new topic. - C. Create a snapshot of your Pub/Sub pull subscription. Use Cloud Monitoring to monitor the snapshot
/numessages metric on this snapshot. - D. Enable retaining of acknowledged messages in your Pub/Sub pull subscription. Use Cloud Monitoring to monitor the subscription/num_retained_acked_messages metric on this subscription.
正解:A
解説:
To ensure that messages failing to process in your Dataflow job are sent to a Pub/Sub topic for monitoring and alerting, the best approach is to use Pub/Sub's dead-letter topic feature. Here's why option C is the best choice:
* Dead-Letter Topic:
* Pub/Sub's dead-letter topic feature allows messages that fail to be processed successfully to be redirected to a specified topic. This ensures that these messages are not lost and can be reviewed for debugging and alerting purposes.
* Monitoring and Alerting:
* By specifying a new Pub/Sub topic as the dead-letter topic, you can use Cloud Monitoring to track metrics such as subscription/dead_letter_message_count, providing visibility into the number of failed messages.
* This allows you to set up alerts based on these metrics to notify the appropriate teams when failures occur.
Steps to Implement:
* Enable Dead-Letter Topic:
* Configure your Pub/Sub pull subscription to enable dead lettering and specify the new Pub/Sub topic for dead-letter messages.
* Set Up Monitoring:
* Use Cloud Monitoring to monitor the subscription/dead_letter_message_count metric on your pull subscription.
* Configure alerts based on this metric to notify the team of any processing failures.
Reference Links:
* Pub/Sub Dead Letter Policy
* Cloud Monitoring with Pub/Sub
質問 # 25
You want to archive data in Cloud Storage. Because some data is very sensitive, you want to use the "Trust No One" (TNO) approach to encrypt your data to prevent the cloud provider staff from decrypting your dat a. What should you do?
- A. Specify customer-supplied encryption key (CSEK) in the .boto configuration file. Use gsutil cp to upload each archival file to the Cloud Storage bucket. Save the CSEK in Cloud Memorystore as permanent storage of the secret.
- B. Use gcloud kms keys create to create a symmetric key. Then use gcloud kms encrypt to encrypt each archival file with the key. Use gsutil cp to upload each encrypted file to the Cloud Storage bucket. Manually destroy the key previously used for encryption, and rotate the key once and rotate the key once.
- C. Use gcloud kms keys create to create a symmetric key. Then use gcloud kms encrypt to encrypt each archival file with the key and unique additional authenticated data (AAD). Use gsutil cp to upload each encrypted file to the Cloud Storage bucket, and keep the AAD outside of Google Cloud.
- D. Specify customer-supplied encryption key (CSEK) in the .boto configuration file. Use gsutil cp to upload each archival file to the Cloud Storage bucket. Save the CSEK in a different project that only the security team can access.
正解:B
質問 # 26
You are building a teal-lime prediction engine that streams files, which may contain Pll (personal identifiable information) data, into Cloud Storage and eventually into BigQuery You want to ensure that the sensitive data is masked but still maintains referential Integrity, because names and emails are often used as join keys How should you use the Cloud Data Loss Prevention API (DLP API) to ensure that the Pll data is not accessible by unauthorized individuals?
- A. Create a pseudonym by replacing the Pll data with cryptogenic tokens, and store the non-tokenized data in a locked-down button.
- B. Scan every table in BigQuery, and mask the data it finds that has Pll
- C. Redact all Pll data, and store a version of the unredacted data in a locked-down bucket
- D. Create a pseudonym by replacing Pll data with a cryptographic format-preserving token
正解:A
質問 # 27
When running a pipeline that has a BigQuery source, on your local machine, you continue to get permission denied errors. What could be the reason for that?
- A. Pipelines cannot be run locally
- B. Your gcloud does not have access to the BigQuery resources
- C. BigQuery cannot be accessed from local machines
- D. You are missing gcloud on your machine
正解:B
解説:
When reading from a Dataflow source or writing to a Dataflow sink using DirectPipelineRunner, the Cloud Platform account that you configured with the gcloud executable will need access to the corresponding source/sink Reference: https://cloud.google.com/dataflow/java- sdk/JavaDoc/com/google/cloud/dataflow/sdk/runners/DirectPipelineRunner
質問 # 28
Which Java SDK class can you use to run your Dataflow programs locally?
- A. DirectPipelineRunner
- B. MachineRunner
- C. LocalRunner
- D. LocalPipelineRunner
正解:A
解説:
DirectPipelineRunner allows you to execute operations in the pipeline directly, without any optimization. Useful for small local execution and tests
質問 # 29
You are designing the architecture to process your data from Cloud Storage to BigQuery by using Dataflow.
The network team provided you with the Shared VPC network and subnetwork to be used by your pipelines.
You need to enable the deployment of the pipeline on the Shared VPC network. What should you do?
- A. Assign the compute.networkUser role to the service account that executes the Dataflow pipeline.
- B. Assign the compute. networkUser role to the Dataflow service agent.
- C. Assign the dataflow, admin role to the service account that executes the Dataflow pipeline.
- D. Assign the dataflow, admin role to the Dataflow service agent.
正解:A
解説:
To use a Shared VPC network for a Dataflow pipeline, you need to specify the subnetwork parameter with the full URL of the subnetwork, and grant the service account that executes the pipeline the compute.
networkUser role in the host project. This role allows the service account to use the subnetworks in the Shared VPC network. The Dataflow service agent does not need this role, as it only creates and manages the resources for the pipeline, but does not execute it. The dataflow.admin role is not related to the network access, but to the permissions to create and delete Dataflow jobs and resources. References:
* Specify a network and subnetwork | Cloud Dataflow | Google Cloud
* How to config dataflow Pipeline to use a Shared VPC?
質問 # 30
Case Study: 3,
MJTelco Case Study
Company Overview
MJTelco is a startup that plans to build networks in rapidly growing, underserved markets around the world. The company has patents for innovative optical communications hardware. Based on these patents, they can create many reliable, high-speed backbone links with inexpensive hardware.
Company Background
Founded by experienced telecom executives, MJTelco uses technologies originally developed to overcome communications challenges in space. Fundamental to their operation, they need to create a distributed data infrastructure that drives real-time analysis and incorporates machine learning to continuously optimize their topologies. Because their hardware is inexpensive, they plan to overdeploy the network allowing them to account for the impact of dynamic regional politics on location availability and cost. Their management and operations teams are situated all around the globe creating many-to-many relationship between data consumers and provides in their system. After careful consideration, they decided public cloud is the perfect environment to support their needs.
Solution Concept
MJTelco is running a successful proof-of-concept (PoC) project in its labs. They have two primary needs:
Scale and harden their PoC to support significantly more data flows generated when they ramp to more than 50,000 installations.
Refine their machine-learning cycles to verify and improve the dynamic models they use to control topology definition.
MJTelco will also use three separate operating environments ?development/test, staging, and production ?
to meet the needs of running experiments, deploying new features, and serving production customers.
Business Requirements
Scale up their production environment with minimal cost, instantiating resources when and where needed in an unpredictable, distributed telecom user community. Ensure security of their proprietary data to protect their leading-edge machine learning and analysis.
Provide reliable and timely access to data for analysis from distributed research workers Maintain isolated environments that support rapid iteration of their machine-learning models without affecting their customers.
Technical Requirements
Ensure secure and efficient transport and storage of telemetry data Rapidly scale instances to support between 10,000 and 100,000 data providers with multiple flows each.
Allow analysis and presentation against data tables tracking up to 2 years of data storing approximately
100m records/day
Support rapid iteration of monitoring infrastructure focused on awareness of data pipeline problems both in telemetry flows and in production learning cycles.
CEO Statement
Our business model relies on our patents, analytics and dynamic machine learning. Our inexpensive hardware is organized to be highly reliable, which gives us cost advantages. We need to quickly stabilize our large distributed data pipelines to meet our reliability and capacity commitments.
CTO Statement
Our public cloud services must operate as advertised. We need resources that scale and keep our data secure. We also need environments in which our data scientists can carefully study and quickly adapt our models. Because we rely on automation to process our data, we also need our development and test environments to work as we iterate.
CFO Statement
The project is too large for us to maintain the hardware and software required for the data and analysis.
Also, we cannot afford to staff an operations team to monitor so many data feeds, so we will rely on automation and infrastructure. Google Cloud's machine learning will allow our quantitative researchers to work on our high-value problems instead of problems with our data pipelines.
Google Cloud Dataflow pipeline is now ready to start receiving data from the 50,000 installations. You want to allow Cloud Dataflow to scale its compute power up as required. Which Cloud Dataflow pipeline configuration setting should you update?
- A. The maximum number of workers
- B. The number of workers
- C. The disk size per worker
- D. The zone
正解:D
質問 # 31
The Dataflow SDKs have been recently transitioned into which Apache service?
- A. Apache Beam
- B. Apache Kafka
- C. Apache Spark
- D. Apache Hadoop
正解:A
解説:
Dataflow SDKs are being transitioned to Apache Beam, as per the latest Google directive
https://cloud.google.com/dataflow/docs/
質問 # 32
You work for a shipping company that has distribution centers where packages move on delivery lines to route them properly. The company wants to add cameras to the delivery lines to detect and track any visual damage to the packages in transit. You need to create a way to automate the detection of damaged packages and flag them for human review in real time while the packages are in transit. Which solution should you choose?
- A. Use BigQuery machine learning to be able to train the model at scale, so you can analyze the packages in batches.
- B. Train an AutoML model on your corpus of images, and build an API around that model to integrate with the package tracking applications.
- C. Use the Cloud Vision API to detect for damage, and raise an alert through Cloud Functions. Integrate the package tracking applications with this function.
- D. Use TensorFlow to create a model that is trained on your corpus of images. Create a Python notebook in Cloud Datalab that uses this model so you can analyze for damaged packages.
正解:B
質問 # 33
Your company is in a highly regulated industry. One of your requirements is to ensure individual users have access only to the minimum amount of information required to do their jobs. You want to enforce this requirement with Google BigQuery.
Which three approaches can you take? (Choose three.)
- A. Disable writes to certain tables.
- B. Use Google Stackdriver Audit Logging to determine policy violations.
- C. Restrict access to tables by role.
- D. Restrict BigQuery API access to approved users.
- E. Ensure that the data is encrypted at all times.
- F. Segregate data across multiple tables or databases.
正解:B、C、D
解説:
bigquery.tables.create Create new tables.
bigquery.tables.delete Delete tables.
bigquery.tables.export Export table data out of BigQuery.
bigquery.tables.get Get table metadata.
To get table data, you need bigquery.tables.getData.
bigquery.tables.getData Get table data. This permission is required for querying table data.
To get table metadata, you need bigquery.tables.get.
bigquery.tables.list List tables and metadata on tables.
bigquery.tables.setCategory Set policy tags in table schema.
bigquery.tables.update
Update table metadata.
To update table data, you need bigquery.tables.updateData.
bigquery.tables.updateData
Update table data.
To update table metadata, you need bigquery.tables.update.
質問 # 34
You are administering a BigQuery on-demand environment. Your business intelligence tool is submitting hundreds of queries each day that aggregate a large (50 TB) sales history fact table at the day and month levels. These queries have a slow response time and are exceeding cost expectations. You need to decrease response time, lower query costs, and minimize maintenance. What should you do?
- A. Build authorized views on top of the sales table to aggregate data at the day and month level.
- B. Enable Bl Engine and add your sales table as a preferred table.
- C. Build materialized views on top of the sales table to aggregate data at the day and month level.
- D. Create a scheduled query to build sales day and sales month aggregate tables on an hourly basis.
正解:C
解説:
To improve response times and reduce costs for frequent queries aggregating a large sales history fact table, materialized views are a highly effective solution. Here's why option A is the best choice:
Materialized Views:
Materialized views store the results of a query physically and update them periodically, offering faster query responses for frequently accessed data.
They are designed to improve performance for repetitive and expensive aggregation queries by precomputing the results.
Efficiency and Cost Reduction:
By building materialized views at the day and month level, you significantly reduce the computation required for each query, leading to faster response times and lower query costs.
Materialized views also reduce the need for on-demand query execution, which can be costly when dealing with large datasets.
Minimized Maintenance:
Materialized views in BigQuery are managed automatically, with updates handled by the system, reducing the maintenance burden on your team.
Steps to Implement:
Identify Aggregation Queries:
Analyze the existing queries to identify common aggregation patterns at the day and month levels.
Create Materialized Views:
Create materialized views in BigQuery for the identified aggregation patterns. For example CREATE MATERIALIZED VIEW project.dataset.sales_daily_summary AS SELECT DATE(transaction_time) AS day, SUM(amount) AS total_sales FROM project.dataset.sales GROUP BY day; CREATE MATERIALIZED VIEW project.dataset.sales_monthly_summary AS SELECT EXTRACT(YEAR FROM transaction_time) AS year, EXTRACT(MONTH FROM transaction_time) AS month, SUM(amount) AS total_sales FROM project.dataset.sales GROUP BY year, month; Query Using Materialized Views:
Update existing queries to use the materialized views instead of directly querying the base table.
Reference Links:
BigQuery Materialized Views
Optimizing Query Performance
質問 # 35
Which TensorFlow function can you use to configure a categorical column if you don't know all of the possible values for that column?
- A. categorical_column_with_unknown_values
- B. categorical_column_with_hash_bucket
- C. categorical_column_with_vocabulary_list
- D. sparse_column_with_keys
正解:B
解説:
Explanation
If you know the set of all possible feature values of a column and there are only a few of them, you can use categorical_column_with_vocabulary_list. Each key in the list will get assigned an auto-incremental ID starting from 0.
What if we don't know the set of possible values in advance? Not a problem. We can use categorical_column_with_hash_bucket instead. What will happen is that each possible value in the feature column occupation will be hashed to an integer ID as we encounter them in training.
Reference: https://www.tensorflow.org/tutorials/wide
質問 # 36
What are the minimum permissions needed for a service account used with Google Dataproc?
- A. Execute to Google Cloud Storage; write to Google Cloud Logging
- B. Write to Google Cloud Storage; read to Google Cloud Logging
- C. Read and write to Google Cloud Storage; write to Google Cloud Logging
- D. Execute to Google Cloud Storage; execute to Google Cloud Logging
正解:C
解説:
Service accounts authenticate applications running on your virtual machine instances to other Google Cloud Platform services. For example, if you write an application that reads and writes files on Google Cloud Storage, it must first authenticate to the Google Cloud Storage API. At a minimum, service accounts used with Cloud Dataproc need permissions to read and write to Google Cloud Storage, and to write to Google Cloud Logging.
質問 # 37
You need to set access to BigQuery for different departments within your company. Your solution should comply with the following requirements:
* Each department should have access only to their data.
* Each department will have one or more leads who need to be able to create and update tables and provide them to their team.
* Each department has data analysts who need to be able to query but not modify data.
How should you set access to the data in BigQuery?
- A. Create a table for each department. Assign the department leads the role of Owner, and assign the data analysts the role of Editor on the project the table is in.
- B. Create a dataset for each department. Assign the department leads the role of WRITER, and assign the data analysts the role of READER on their dataset.
- C. Create a dataset for each department. Assign the department leads the role of OWNER, and assign the data analysts the role of WRITER on their dataset.
- D. Create a table for each department. Assign the department leads the role of Editor, and assign the data analysts the role of Viewer on the project the table is in.
正解:D
質問 # 38
......
最新Professional-Data-Engineerテスト問題集を試そう!更新されたGoogle試験が合格できます:https://www.jpntest.com/shiken/Professional-Data-Engineer-mondaishu
検証済み!Professional-Data-Engineer問題集と解答でProfessional-Data-Engineerテストエンジン正確解答付き:https://drive.google.com/open?id=1M2CJn_UGZq4MN18MHcxnKe0T6Hd4nNkH