Professional Cloud Security Engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
A security engineer is configuring end-to-end encryption in transit between application microservices and a Google Cloud SQL for PostgreSQL database instance. The database instance is provisioned using a shared Certificate Authority (shared CA) mode and is accessed over Private Service Connect (PSC).
To satisfy strict compliance and zero-trust policies, client connections must enforce complete cryptographic server identity verification to prevent spoofing and Man-in-the-Middle (MitM) attacks.
Which configuration should the security engineer implement?
Server identity verification with TLS ensures that the client not only validates that the database server's certificate was signed by a trusted Certificate Authority (CA), but also validates that the certificate's Subject Alternative Name (SAN) matches the exact hostname to which the client is connecting.
INSTANCE_UID.PROJECT_DNS_LABEL.REGION_NAME.sql.goog.) in the server certificate's SAN field. Registering this name in a VPC private Cloud DNS zone ensures that private clients correctly resolve the DNS name to the PSC endpoint IP.sslmode=verify-full in PostgreSQL client drivers enforces both trusted CA validation and strict SAN hostname matching.This solution properly aligns DNS resolution, certificate SAN metadata, and client TLS enforcement (sslmode=verify-full), providing end-to-end cryptographic trust.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.