Get startedGet started for free

Quiz Question 2

You are a Beam developer for a university in Googleville. Googleville law mandates that all student data is kept within Googleville. Compute Engine resources can be launched in Googleville; the region name is google-world1. Dataflow, however, does not currently have a regional endpoint set up in google-world1. Which flags are needed in the following command to allow you to launch a Dataflow job and to conform with Googleville’s law?

python3 -m apache_beam.examples.wordcount \

--input gs://dataflow-samples/shakespeare/kinglear.txt \

--output gs://$BUCKET/results/outputs --runner DataflowRunner \

--project $PROJECT --temp_location gs://$BUCKET/tmp/ \

This exercise is part of the course

Serverless Data Processing with Dataflow: Foundations

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise