Kom igångKom igång gratis

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/ \

Den här övningen är en del av kursen

Serverless Data Processing with Dataflow: Foundations

Visa kurs

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen