Prepare and test your skills
Prepare and test your skills
Free sample question, answered and explained below. The Professional Cloud Architect practice bank has 2,335 more like it. Try 10 free: instant score, no account.
A retail company is designing an event-driven architecture to process user interactions across its e-commerce website in real time. The solution must satisfy the following technical requirements:
Which architecture should the company implement?
Compute Engine Managed Instance Groups (MIGs) provide scalable virtual machine pools that can execute custom software agents, ingest network traffic, and store files on local Persistent Disks.
The company were rehosting a legacy on-premises data logging appliance that could not be refactored to use native cloud APIs.
Using self-managed VMs for event ingestion and stream buffering introduces unnecessary infrastructure management and fails modern cloud-native architectural patterns.
Cloud Functions (2nd gen) is an event-driven serverless compute platform that executes stateless code in response to events or HTTP requests, integrating natively with Cloud Pub/Sub and Eventarc.
The workload required simple, stateless single-event transformations (such as converting JSON payloads to Base64 strings or triggering individual transactional alerts) before storing data.
While Cloud Functions excels at lightweight event routing and discrete microservice triggers, enterprise stream processing with time-windowed aggregations is the explicit design objective of Dataflow.
Cloud Pub/Sub is a globally distributed, fully managed, asynchronous messaging service designed to ingest and distribute high-throughput event streams with latencies typically around 100 milliseconds. Dataflow is a serverless, managed stream and batch data processing service built on Apache Beam, providing native support for complex transformations, stateful windowing, and streaming data sinks.
Combining Cloud Pub/Sub with Dataflow represents Google Cloud's premier reference architecture for real-time streaming analytics. It delivers end-to-end low latency, robust state management for time-based metrics, and elastic scalability without infrastructure maintenance.
Cloud Composer is a managed workflow orchestration service based on Apache Airflow that schedules and manages DAG workflows, commonly used to provision ephemeral Dataproc clusters for batch Hadoop and Spark jobs.
The requirement was to process large volumes of historical log archives or daily financial reconciliations where batch latency is acceptable and Spark code reusability is mandatory.
Batch architectures with Cloud Composer are ideal for scheduled ETL pipelines, but they cannot replace a streaming ingestion layer like Cloud Pub/Sub and Dataflow for real-time analytics.
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