GSP514

Overview
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 Build a Data Mesh with Dataplex skill badge. Are you ready for the challenge?
Setup and requirements
Before you click the Start Lab button
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:
- Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
- Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.
Challenge scenario
You are just starting your junior data engineer role. So far you have been helping teams create and manage Dataplex assets.
You are expected to have the skills and knowledge for these tasks.
Your challenge
You are asked to help a newly formed development team with building a new data mesh using Dataplex. Specifically, you need to create a Dataplex lake with multiple zones and assets. You also need to create aspects types and add aspects to assets in the new lake, and assess data quality; you receive the following request to complete the following tasks:
- Create a Dataplex lake with two zones and two assets.
- Create an aspect type for protected data and add an aspect to a zone.
- Assign a Dataplex IAM role to another user.
- Create and upload a data quality specification file to Cloud Storage.
- Define and run a data quality job in Dataplex.
Some standards you should follow:
- Ensure that any needed APIs (such as Dataplex, Data Catalog, and Dataproc) are successfully enabled.
- Create all resources in the region, unless otherwise directed.
Each task is described in detail below, good luck!
Task 1. Create a Dataplex lake with two zones and two assets
Note: For all tasks in this challenge lab, create the resources in the region, unless otherwise directed.
The Cloud Storage bucket and BigQuery dataset for step 2 have been pre-created in this lab.
- Create a Dataplex lake named Sales Lake with two regional zones:
- Raw zone named Raw Customer Zone
- Curated zone named Curated Customer Zone
- Attach one pre-created asset to each zone:
- To the raw zone, attach the Cloud Storage bucket named -customer-online-sessions as a new asset named Customer Engagements.
- To the curated zone, attach the BigQuery dataset named .customer_orders as a new asset named Customer Orders.
Helpful hint for creating a Dataplex lake!
Click Check my progress to verify the objective.
Create a Dataplex lake with two zones and two assets
Task 2. Create an aspect type and add an aspect to a zone
- Create an aspect type named Protected Customer Data Aspect with two enumerated fields:
- First field named Raw Data Flag with two values: Yes and No.
- Second field named Protected Contact Information Flag with two values: Yes and No.
- Add this aspect to the Raw Customer Zone using a value of Yes for both flags.
Helpful hint for creating and applying aspect types!
Click Check my progress to verify the objective.
Create an aspect type and add an aspect to a zone
Task 3. Assign a Dataplex IAM role to another user
- Using the principle of least privilege, assign the appropriate Dataplex IAM role to User 2 () that allows them to upload new Cloud Storage files to the Dataplex asset named Customer Engagements.
Helpful hint for assigning Dataplex IAM roles!
Click Check my progress to verify the objective.
Assign a Dataplex IAM role to another user
Task 4. Create and upload a data quality specification file to Cloud Storage
The Cloud Storage bucket for step 2 has been pre-created in this lab.
- Create a data quality specification file named dq-customer-orders.yaml with the following specifications:
-
NOT NULL rule applied (with a threshold of 100%) to the user_id column of the customer_orders.ordered_items table
-
NOT NULL rule applied (with a threshold of 100%) to the order_id column of the customer_orders.ordered_items table
- BigQuery destination table for the results: .orders_dq_dataset.results
- Upload the file to the Cloud Storage bucket named -dq-config.
Helpful hint for creating data quality specification files!
Click Check my progress to verify the objective.
Create and upload a data quality specification file
Task 5. Define and run an auto data quality job in Dataplex
The BigQuery dataset for step 1 has been pre-created in this lab.
- Define a auto data quality job using the dq-customer-orders.yaml file with the following specifications:
Property |
Value |
Data Quality Job Name |
customer-orders-data-quality-job |
Source Data |
.customer_orders.ordered_items |
User service account |
Compute Engine default service account |
- Run the auto data quality job immediately.
It can take several minutes for the job to run. You may need to refresh the page to see that the job has run successfully.
Helpful hint for defining and running the data quality jobs!
Click Check my progress to verify the objective.
Define and run a data quality job in Dataplex
Congratulations!
You built a Data Mesh by creating a Dataplex lake with multiple zones and assets, creating aspect types and adding aspects to assets, and assessing data quality.

Earn your next skill badge
This self-paced lab is part of the Build a Data Mesh with Dataplex skill badge. Completing this skill badge course 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 course is part of Google Cloud’s Data Engineer learning path. If you have already completed the other skill badge courses in this learning path, search the catalog for other skill badge quests in which you can enroll.
Google Cloud training and certification
...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 September 04, 2025
Lab Last Tested September 04, 2025
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.