Flashcardsfor IT Certifications

D2: Serverless Deployment & Event Processing

Google Cloud Associate Cloud Engineer exam practice questions · 12 flashcards

Question
How do you deploy a container to Cloud Run?
1 / 12

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 12 Serverless Deployment & Event Processing practice questions and answers
  1. How do you deploy a container to Cloud Run?
    gcloud run deploy SERVICE --image=IMAGE --region=REGION.
  2. How do you deploy from source?
    gcloud run deploy --source . (builds with Cloud Build).
  3. What is Eventarc?
    Routes events from Google services, Pub/Sub and audit logs to Cloud Run, functions and other targets.
  4. How do you process Pub/Sub messages with Cloud Run?
    Use an Eventarc Pub/Sub trigger or a push subscription to the service URL.
  5. How do you react to Cloud Storage object changes?
    Eventarc trigger on events like google.cloud.storage.object.v1.finalized.
  6. How do you deploy a Cloud Run function with a Pub/Sub trigger?
    gcloud functions deploy NAME --trigger-topic=TOPIC (2nd gen/Cloud Run functions).
  7. How do you deploy a function triggered by bucket uploads?
    gcloud functions deploy NAME --trigger-bucket=BUCKET.
  8. What are audit-log-based Eventarc triggers?
    Triggers on Cloud Audit Log entries, covering many Google services.
  9. How do you make a Cloud Run service private?
    Require authentication (--no-allow-unauthenticated) and grant roles/run.invoker.
  10. Which identity invokes Cloud Run for Eventarc?
    A service account with roles/run.invoker.
  11. What does ingress setting control?
    Whether traffic is allowed from all, internal only, or internal + load balancer.
  12. What is the Pub/Sub delivery model?
    At-least-once; handlers should be idempotent.