All quizzes
Free quiz · 39 questions in the bank

Cloud Functions quiz

Test your Cloud Functions knowledge with a free interactive quiz — 39 questions with answers and explanations. No signup needed to play.

Question 1/5Score 0

How does a CloudEvent function receive a Pub/Sub message's data?

Questions in this quiz
  1. How does a CloudEvent function receive a Pub/Sub message's data?
  2. What flag makes an HTTP Cloud Function callable without authentication?
  3. What does `functions.http('createOrder', async (req, res) => {...})` register?
  4. What is the entry point in a `gcloud functions deploy` command?
  5. What is the purpose of `--trigger-bucket=my-uploads-bucket` in a deploy command?
  6. What is required to make an HTTP Cloud Function respond correctly to a client expecting JSON?
  7. Why would you keep dependency imports and initialization code lean in a Cloud Function?
  8. What is the free tier for Cloud Functions invocations?
  9. What deploys a Cloud Function from the command line?
  10. What does setting `min-instances=1` on a Cloud Function accomplish?
  11. What are the two main function shapes supported by Cloud Functions?
  12. How do you stream logs for a deployed Gen 2 Cloud Function?
Gaps to close?
Read the curated Cloud Functions notes — core concepts, patterns, interview prep.
Cloud Functions notes

More quizzes

.NET.NET MAUIAbsintheAccessibilityActixActix Web