Selecting BigQuery and Cloud Storage for PII and Document Workloads

ADP By islever Editorial Last updated

Extract and load data into appropriate Google Cloud storage systems. Identify high availability and disaster recovery strategies for data in Cloud Storage and Cloud SQL.

Short answer

C Use BigQuery Streaming Ingestion API for PII CSV files requiring SQL analysis and Cloud Storage for small document files powering applications.

Question

You created a customer support application that sends several forms of data to Google Cloud. Your application is sending: 2. CSV files of users’ personally identifiable information (Pll) that will be analyzed with SQL. 3. A large volume of small document files that will power other applications. You need to select the appropriate tool for each data type given the required use case, while following Google-recommended practices. Which should you choose?
    1. Cloud Storage
    1. Filestore
    1. Cloud Storage
    Correct Answer
    1. Filestore

Key Takeaways

This question evaluates the selection of appropriate Google Cloud services for distinct data types: BigQuery Streaming Ingestion API for PII CSV files requiring SQL analysis and Cloud Storage for small document files powering applications.

Expert Analysis

BigQuery Streaming Ingestion API (Storage Write API) handles real-time streaming of form data from applications into BigQuery. Cloud Composer (A) orchestrates workflows. Dataflow (B) adds processing. Cloud Scheduler (D) is for cron jobs.

The scenario presents a multi-part challenge involving distinct data types with specific consumption requirements: CSV files containing personally identifiable information (PII) destined for SQL analysis, and a large volume of small document files intended to power other applications. The core task is to select the appropriate Google Cloud tool for each data type while adhering to recommended practices. The source answer key identifies option C as correct, which corresponds to "1. BigQuery Streaming Ingestion API (Storage Write API)" and "2. Cloud Storage." This selection aligns with the architectural strengths of these services when mapped to the described use cases.

For the first data type—CSV files of PII analyzed with SQL—the choice of BigQuery Streaming Ingestion API (specifically via the Storage Write API) is technically sound for real-time ingestion. BigQuery is a serverless, highly scalable data warehouse designed specifically for running SQL queries on large datasets. While traditional batch loading is common for CSVs, the reference explanation explicitly highlights the "BigQuery Streaming Ingestion API" as the handler for form data. In the context of a customer support application sending forms, data often arrives in bursts or continuously. Using the Storage Write API allows for efficient, high-throughput ingestion directly into BigQuery tables, enabling immediate SQL querying without the latency of batch loads. Furthermore, handling PII requires robust security and governance, which BigQuery provides through IAM, column-level security, and encryption at rest. The mention of "Streaming" suggests a need for low-latency availability of this PII data for support agents or analytics dashboards, making direct streaming ingestion preferable over simple blob storage if the end-goal is immediate SQL analysis.

For the second data type—a large volume of small document files powering other applications—Cloud Storage is the definitive choice. Cloud Storage is an object storage service optimized for storing unstructured data, including documents, images, and videos. It excels at handling "small files" due to its distributed architecture and cost-effective pricing tiers. Other applications can access these files via standard HTTP/HTTPS APIs, making it ideal for "powering" downstream services. Alternative options like Filestore are NFS-based file systems designed for shared access by compute instances (like VMs), not typically for serving content to arbitrary applications over the internet or for storing massive volumes of small objects where object semantics are sufficient. Cloud Storage's durability, scalability, and ease of integration make it the recommended practice for this scenario.

Evaluating the incorrect options reinforces this decision. Option A suggests Cloud Composer, which is a workflow orchestration service (based on Apache Airflow). While useful for scheduling data pipelines, it is not a storage layer; it orchestrates tasks that move data but does not store the data itself. Option B suggests Dataflow, which is a stream/batch processing service. Dataflow transforms data but does not serve as the primary repository for static document files or long-term SQL-ready tables in this context. Option D suggests Cloud Scheduler, which is a cron-like job scheduler. Like Composer, it triggers actions but does not store data. Therefore, only option C provides the correct storage/ingestion mechanisms for both the analytical SQL data and the application-backed documents.

Exam Strategy

When facing questions about data storage and ingestion, always match the data format and consumption pattern to the service's primary function. If the end goal is SQL analysis, prioritize BigQuery over raw storage. If the data consists of unstructured objects accessed by various apps, choose Cloud Storage over file systems like Filestore. Avoid orchestration tools (Composer, Dataflow, Scheduler) as answers unless the question explicitly asks about workflow management or transformation logic rather than storage.

Practice All ADP Questions

Access 65 questions with complete answers and detailed explanations.

View Full ADP Practice Test →

← Back to ADP Study Guide