What are the minimum permissions needed for a service account used with Google Dataproc?
Answer(s): D
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.
https://cloud.google.com/dataproc/docs/concepts/service-accounts#important_notes
Which role must be assigned to a service account used by the virtual machines in a Dataproc cluster so they can execute jobs?
Answer(s): A
Service accounts used with Cloud Dataproc must have Dataproc/Dataproc Worker role (or have all the permissions granted by Dataproc Worker role).
When creating a new Cloud Dataproc cluster with the projects.regions.clusters.create operation, these four values are required: project, region, name, and ____.
At a minimum, you must specify four values when creating a new cluster with the projects.regions.clusters.create operation:The project in which the cluster will be createdThe region to useThe name of the clusterThe zone in which the cluster will be createdYou can specify many more details beyond these minimum requirements. For example, you can also specify the number of workers, whether preemptible compute should be used, and the network settings.
https://cloud.google.com/dataproc/docs/tutorials/python-library- example#create_a_new_cloud_dataproc_cluste
Which Google Cloud Platform service is an alternative to Hadoop with Hive?
Answer(s): C
Apache Hive is a data warehouse software project built on top of Apache Hadoop for providing data summarization, query, and analysis.Google BigQuery is an enterprise data warehouse.
https://en.wikipedia.org/wiki/Apache_Hive
Which of these rules apply when you add preemptible workers to a Dataproc cluster (select 2 answers)?
Answer(s): B,D
The following rules will apply when you use preemptible workers with a Cloud Dataproc cluster:. Processing only--Since preemptibles can be reclaimed at any time, preemptible workers do not store data. Preemptibles added to a Cloud Dataproc cluster only function as processing nodes.. No preemptible-only clusters--To ensure clusters do not lose all workers, Cloud Dataproc cannot create preemptible-only clusters.. Persistent disk size--As a default, all preemptible workers are created with the smaller of 100GB or the primary worker boot disk size. This disk space is used for local caching of data and is not available through HDFS.The managed group automatically re-adds workers lost due to reclamation as capacity permits.
https://cloud.google.com/dataproc/docs/concepts/preemptible-vms
Post your Comments and Discuss Google Professional Data Engineer exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the Professional Data Engineer content, but please register or login to continue.