Prepare and test your skills

Prepare and test your skills

Free sample question with answers and detailed explanation below. The Professional Machine Learning Engineer practice bank has an additional 974 practice questions.Try 10 free realistic questions: instant score, no credit card, and no account required.
An ML engineering team is deploying a real-time speech-to-text inference platform on Google Cloud using grpc-go model servers. To meet strict service-level objectives, the architecture must satisfy these requirements:
Which architecture and configuration should the team implement?
END_STREAM with a 0 ms delay after HEADERS on idle streams.This architecture deploys gRPC and Protobuf workloads on GKE behind regional and global external Application Load Balancers, but uses an active-active global-to-regional bypass topology, HTTP/2 health checks, and immediate 0 ms client stream half-closing.
END_STREAM flag immediately (0 ms delay) after HEADERS without any payload data, the global external Application Load Balancer performs an RFC 7540 optimization that merges the HEADERS frame and the empty DATA frame into a single HEADERS frame with END_STREAM. Implementations such as grpc-go strictly require END_STREAM on a DATA frame and will hang indefinitely until the client sends RST_STREAM.GRPC and matching named ports or Network Endpoint Group (NEG) serving ports.The architecture did not require capacity-aware global backend load balancing, used a non-grpc-go server resilient to END_STREAM on HEADERS frames, and replaced HTTP/2 probes with native gRPC or TCP health checks across three zones.
PredictionServiceClient, configure endpoint traffic splitting for regional capacity spillover, and rely on Cloud DNS routing policies for failover.This design attempts to serve low-latency predictions using Vertex AI Private Services Access endpoints connected via VPC Network Peering, relying on PredictionServiceClient for gRPC streaming, endpoint traffic splitting, and Cloud DNS failover.
PredictionServiceClient. Clients inside the peered VPC must invoke a raw HTTP REST URI (http://ENDPOINT_ID.aiplatform.googleapis.com/v1/models/DEPLOYED_MODEL_ID:predict), preventing native bi-directional gRPC streaming.The workload only required unary HTTP/REST predictions over an internal VPC-peered network without TLS, traffic splitting, or bi-directional gRPC streaming, and could tolerate DNS-level regional failover latency.
This solution pairs gRPC with Protocol Buffers (Protobuf) on regional Google Kubernetes Engine (GKE) clusters with a multi-region Application Load Balancer hierarchy, dedicated gRPC/TCP health checks, and HTTP/2 framing safeguards for grpc-go backends.
topology.kubernetes.io/zone) eliminates single points of failure. Overprovisioning capacity by one-third (33%) ensures remaining zones absorb failover load without degrading latency.GRPC prevents false negatives caused by standard HTTP/HTTPS/HTTP2 probes.grpc-go: The global external Application Load Balancer optimizes HTTP/2 by merging a client HEADERS frame and an immediately following empty DATA frame (END_STREAM) into a single HEADERS frame with END_STREAM. Because grpc-go servers require END_STREAM on a DATA frame per the gRPC-over-HTTP/2 specification, enforcing a >=10 ms delay or sending at least one data message before half-closing prevents indefinite backend hangs.Unlike REST/JSON gateways or private VPC-peered endpoints, this GKE and Application Load Balancer design natively supports high-throughput bi-directional gRPC streaming, capacity-aware regional spillover, and protocol-compliant health checking without sacrificing reliability.
--enable-streaming) with HTTP/2 (h2) backends across two regions. Place the gateways behind Serverless NEGs fronted by a global external Application Load Balancer with HTTP/2 health checks to enable full-duplex streaming and cross-region failover.This approach attempts to deliver real-time streaming inference by exposing RESTful JSON endpoints through API Gateway with streaming enabled, fronted by Serverless Network Endpoint Groups (NEGs) and a global external Application Load Balancer.
EFFECTIVE_STREAMING_MODE_ENABLED) are incompatible with HTTP(S) Load Balancing and Serverless NEGs. They cannot be placed behind an external Application Load Balancer for multi-region traffic management or custom domain routing.deadline (defaulting to 15 seconds, capped at 3,600 seconds) that abruptly terminates active streams, and truncated HTTP streams can appear to clients as completed responses rather than errors.The workload only required unidirectional server-sent events (SSE) or chunked HTTP responses from serverless backends (such as Cloud Run) directly through API Gateway without a global external Application Load Balancer, and tolerated JSON payload overhead.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated