Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
An enterprise is designing a real-time data ingestion pipeline that transfers highly sensitive customer financial records from compute workloads in a private Virtual Private Cloud (VPC) to a managed Cloud SQL database instance. The security compliance policy mandates two strict requirements:
Which combination of architecture and security configurations should the data engineer implement to satisfy these requirements?
This configuration assigns an external public IP address to the Cloud SQL instance, restricts incoming IP connections using database Authorized Networks ACLs, and manages database connection strings and passwords using Secret Manager.
The pipeline needed secure credential distribution and public internet ingress restricted to a known set of fixed static external IP addresses.
Storing connection passwords and SSL certificates in Secret Manager is an operational best practice, but it must be paired with private IPs and strict database SSL enforcement to provide in-transit security.
This option provisions Cloud NAT to provide outbound internet connectivity for private VMs, attempts to attach Cloud Armor security policies for traffic inspection, and enables Shielded VMs for compute workloads.
The primary goal was to inspect external inbound web application traffic against common web application vulnerabilities while providing outbound internet access for patching private virtual machines.
Database-level encryption in transit must be enforced at the database service itself using TLS certificates and flags, rather than relying on perimeter web application firewalls.
ssl_mode set to ENCRYPTED_ONLY, connect compute workloads over Private Services Access, and place the project inside a VPC Service Controls service perimeter.This solution combines database-level transport security enforcement with network isolation and context-aware perimeter boundaries. By configuring the Cloud SQL instance with ssl_mode set to ENCRYPTED_ONLY, utilizing Private Services Access (PSA) for internal routing, and establishing a VPC Service Controls (VPC SC) service perimeter, data movement is protected at the transport, network, and organizational layers.
ENCRYPTED_ONLY guarantees that all incoming connections must use SSL/TLS encryption. Any connection attempt over cleartext or unencrypted TCP is rejected at the database listener level.ENCRYPTED_ONLY).This approach directly satisfies all regulatory mandates without relying on client-side discretion or exposing services to public endpoints. It ensures that traffic cannot traverse unencrypted channels, cannot be routed over the public internet, and cannot be exfiltrated outside the managed perimeter boundary.
ssl_mode set to ALLOW_UNENCRYPTED_AND_ENCRYPTED, enforce egress firewall rules on compute subnets, and configure Cloud KMS customer-managed encryption keys (CMEK).This configuration relies on default dual-mode database connection settings, Compute Engine subnet egress firewall rules, and Customer-Managed Encryption Keys (CMEK) via Cloud KMS.
ssl_mode to ALLOW_UNENCRYPTED_AND_ENCRYPTED allows non-SSL/non-TLS cleartext database connections whenever a client does not explicitly request encryption, directly violating the requirement to strictly reject unencrypted traffic.ALLOW_UNENCRYPTED_AND_ENCRYPTED is the default Cloud SQL mode and allows unencrypted traffic.The goal was to implement encryption at rest with customer-controlled cryptographic keys while accommodating legacy clients that lack TLS capabilities.
Relying on client-side requests to enable TLS introduces misconfiguration risk. Enforcing ENCRYPTED_ONLY on the server ensures absolute compliance regardless of client configuration.
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