Flashcardsfor IT Certifications

D1: Creating & Deploying APIs (REST & gRPC)

Google Cloud Professional Cloud Developer exam practice questions · 10 flashcards

Question
REST characteristics?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Creating & Deploying APIs (REST & gRPC) practice questions and answers
  1. REST characteristics?
    Resource-oriented HTTP APIs, usually JSON, widely compatible.
  2. gRPC characteristics?
    High-performance RPC using HTTP/2 and Protocol Buffers, supports streaming.
  3. When choose gRPC?
    Low-latency internal service-to-service calls and streaming.
  4. When choose REST?
    Public APIs and broad client compatibility.
  5. What defines a gRPC API?
    A .proto file with services and messages.
  6. REST API design best practices?
    Nouns for resources, proper HTTP methods/status codes, versioning, pagination.
  7. How do you version APIs?
    Version in the path (e.g. /v1/) or headers.
  8. What is an OpenAPI spec?
    Machine-readable REST API definition used by gateways and tooling.
  9. Can Cloud Run serve gRPC?
    Yes, with HTTP/2 end-to-end enabled.
  10. What are idempotent methods?
    Repeating them has the same effect (GET, PUT, DELETE).