
Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Run a simple Dataflow job
/ 25
Run a simple Dataproc job
/ 25
Use the Google Cloud Speech API
/ 25
Use the Cloud Natural Language API
/ 25
In a challenge lab you’re given a scenario and a set of tasks. Instead of following step-by-step instructions, you will use the skills learned from the labs in the course to figure out how to complete the tasks on your own! An automated scoring system (shown on this page) will provide feedback on whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud concepts. You are expected to extend your learned skills, like changing default values and reading and researching error messages to fix your own mistakes.
To score 100% you must successfully complete all tasks within the time period!
This lab is recommended for students who have enrolled in the Prepare Data for ML APIs on Google Cloud skill badge. Are you ready for the challenge?
Topics tested:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the left is the Lab Details pane with the following:
Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).
The lab spins up resources, and then opens another tab that shows the Sign in page.
Tip: Arrange the tabs in separate windows, side-by-side.
If necessary, copy the Username below and paste it into the Sign in dialog.
You can also find the Username in the Lab Details pane.
Click Next.
Copy the Password below and paste it into the Welcome dialog.
You can also find the Password in the Lab Details pane.
Click Next.
Click through the subsequent pages:
After a few moments, the Google Cloud console opens in this tab.
Before you begin your work on Google Cloud, you need to ensure that your project has the correct permissions within Identity and Access Management (IAM).
In the Google Cloud console, on the Navigation menu , select IAM & Admin > IAM.
Confirm that the default compute Service Account {project-number}-compute@developer.gserviceaccount.com
is present and has the editor
and storage.admin
role assigned. The account prefix is the project number, which you can find on Navigation menu > Cloud Overview > Dashboard.
storage.admin
role, follow the steps below to assign the required role.729328892908
).{project-number}
with your project number.As a junior data engineer in Jooli Inc. and recently trained with Google Cloud and a number of data services you have been asked to demonstrate your newly learned skills. The team has asked you to complete the following tasks.
You are expected to have the skills and knowledge for these tasks so don’t expect step-by-step guides.
In this task, you use the Dataflow batch template Text Files on Cloud Storage to BigQuery under "Process Data in Bulk (batch)" to transfer data from a Cloud Storage bucket (gs://cloud-training/gsp323/lab.csv
). The following table has the values you need to correctly configure the Dataflow job.
You will need to make sure you have:
Field | Value |
---|---|
Cloud Storage input file(s) | gs://cloud-training/gsp323/lab.csv |
Cloud Storage location of your BigQuery schema file | gs://cloud-training/gsp323/lab.schema |
BigQuery output table |
|
Temporary directory for BigQuery loading process |
|
Temporary location |
|
Optional Parameters > JavaScript UDF path in Cloud Storage | gs://cloud-training/gsp323/lab.js |
Optional Parameters > JavaScript UDF name | transform |
Optional Parameters > Machine Type | e2-standard-2 |
Wait for the job to finish before trying to check your progress.
Click Check my progress to verify the objective.
In this task, you run an example Spark job using Dataproc.
Before you run the job, log into one of the cluster nodes and copy the /data.txt file into hdfs (use the command hdfs dfs -cp gs://cloud-training/gsp323/data.txt /data.txt
).
Run a Dataproc job using the values below.
Field | Value |
---|---|
Region |
|
Job type | Spark |
Main class or jar | org.apache.spark.examples.SparkPageRank |
Jar files | file:///usr/lib/spark/examples/jars/spark-examples.jar |
Arguments | /data.txt |
Max restarts per hour | 1 |
Dataproc Cluster | Compute Engine |
Region |
|
Machine Series | E2 |
Manager Node | Set Machine Type to e2-standard-2 |
Worker Node | Set Machine Type to e2-standard-2 |
Max Worker Nodes | 2 |
Primary disk size | 100 GB |
Internal IP only | Deselect "Configure all instances to have only internal IP addresses |
Wait for the job to finish before trying to check your progress.
Click Check my progress to verify the objective.
gs://cloud-training/gsp323/task3.flac
. Once you have analyzed the file, upload the resulting file to: Click Check my progress to verify the objective.
Click Check my progress to verify the objective.
Congratulations! In this lab, you have demonstrated your skills by running a simple Dataflow job, a simple Dataproc job, and using the Google Cloud Speech-to-Text API and the Cloud Natural Language API.
This self-paced lab is part of the Prepare Data for ML APIs on Google Cloud skill badge course. Completing this skill badge earns you the badge above, to recognize your achievement. Share your badge on your resume and social platforms, and announce your accomplishment using #GoogleCloudBadge.
This skill badge is part of Google Cloud’s Data Analyst and Data Engineer learning paths.
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated March 25, 2024
Lab Last Tested January 15, 2024
Copyright 2025 Google LLC All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
Ce contenu n'est pas disponible pour le moment
Nous vous préviendrons par e-mail lorsqu'il sera disponible
Parfait !
Nous vous contacterons par e-mail s'il devient disponible
One lab at a time
Confirm to end all existing labs and start this one