Skip to main content

Professional Cloud Architect · 17% of the exam

Designing for security and compliance practice questions

10 free Designing for security and compliance questions for the Google Cloud Professional Cloud Architect (Professional Cloud Architect) exam, each with the correct answer and an explanation for every option.

What this domain covers

Designing for security and regulatory compliance: identity, data protection and the controls Google Cloud offers.

Exam weight
17%
On a real exam
≈ 9 questions
In our bank
105 questions

Topics that come up most

  • IAM roles, service accounts and hierarchy
  • Organisation policies
  • Encryption and Cloud KMS
  • VPC Service Controls
  • Compliance and data residency

How to study it

Practise least-privilege answers using predefined roles and service accounts; broad primitive roles are rarely correct.

Sample Designing for security and compliance questions

Try each one before opening the answer. Original questions written to the official exam objectives.

  1. Question 1

    A security team plans to put a VPC Service Controls perimeter around production projects that use BigQuery and Cloud Storage. Before any request is actually blocked, they want to find which existing workloads would violate the perimeter so they can add ingress and egress rules. What should they do?

    • AConfigure the perimeter in dry-run mode and review the audit log entries marked as dry-run violations
    • BEnforce the perimeter with an access level that allows the corporate IP ranges, then review the denied requests in the audit logs
    • CEnforce the perimeter around the projects with an empty restricted-services list, then review the audit logs for violations
    • DUse the IAM Policy Simulator to replay recent access against the planned perimeter configuration
    Show answer and explanation

    Answer: A) Configure the perimeter in dry-run mode and review the audit log entries marked as dry-run violations

    VPC Service Controls dry-run mode logs requests that would violate a perimeter without blocking them. The team can find which workloads need ingress or egress rules before switching to enforcement.

    • AA dry-run perimeter logs requests that would violate it as though it were enforced, without denying them. The audit log entries have metadata.dryRun set to true, so the team can tune the rules before enforcing.
    • BThis is still enforcement. Legitimate requests that the access level doesn't cover, such as service-to-service traffic, would be blocked in production before anyone could review them.
    • CWith no restricted services, the perimeter doesn't evaluate BigQuery or Cloud Storage calls. No relevant violations would be logged, so it shows nothing about what enforcement would block.
    • DPolicy Simulator tests changes to IAM allow policies. It doesn't evaluate VPC Service Controls perimeter configurations.
  2. Question 2

    The security team requires OS Login for SSH on every Linux VM across hundreds of projects, including projects created in the future. Project owners must not be able to turn it off. What should the cloud architect do?

    • AEnforce the compute.requireOsLogin organization policy constraint at the organization node
    • BSet the enable-oslogin=TRUE metadata key in the project metadata of every existing project
    • CGrant the roles/compute.osLogin IAM role to all engineers at the organization level
    • DCreate firewall rules that allow SSH on port 22 only from the IAP TCP forwarding range
    Show answer and explanation

    Answer: A) Enforce the compute.requireOsLogin organization policy constraint at the organization node

    Enforcing the compute.requireOsLogin organization policy constraint at the organization node requires OS Login in every current and future project and blocks overrides through metadata.

    • ACorrect. When enforced, this constraint adds enable-oslogin=true to new projects and rejects any request that sets enable-oslogin to false in project or instance metadata. Because the policy is inherited, it covers existing and future projects.
    • BIncorrect. This turns on OS Login only in projects that exist today, and anyone who can edit metadata can set the key to FALSE at the project or instance level. Nothing enforces it.
    • CIncorrect. This role lets users log in through OS Login where OS Login is enabled. It doesn't require VMs to use OS Login.
    • DIncorrect. Firewall rules control where SSH traffic can come from, not how users are authenticated. VMs could still accept metadata-based SSH keys.
  3. Question 3

    A project holds a sensitive dataset in BigQuery and Cloud Storage. The security team wants to guarantee that even a user with valid IAM read access cannot copy the data to a personal project outside the organization. Which control addresses this exfiltration risk?

    • AA VPC Service Controls perimeter around the project so its storage/BigQuery APIs can only be reached from inside the perimeter
    • BTighten IAM so only a few users have roles/bigquery.dataViewer
    • CEnable object versioning on the bucket
    • DAdd a budget alert on egress cost
    Show answer and explanation

    Answer: A) A VPC Service Controls perimeter around the project so its storage/BigQuery APIs can only be reached from inside the perimeter

    • AVPC Service Controls adds a context-based boundary on top of IAM: requests to protected services from outside the perimeter (e.g. to copy data to an external project) are denied even with valid credentials.
    • BIAM controls who can read, but an authorized reader can still exfiltrate; that's the gap VPC-SC closes.
    • CVersioning protects against overwrite/delete; it does nothing to stop data leaving the perimeter.
    • DA cost alert is after-the-fact and doesn't block the copy.
  4. Question 4

    A security team wants runtime detection of suspicious activity inside running GKE containers, such as unexpected binaries being executed. Which capability fits?

    • AContainer Threat Detection
    • BUniform bucket-level access
    • CCloud NAT logging
    • DPersistent disk snapshots
    Show answer and explanation

    Answer: A) Container Threat Detection

    • AIt monitors container runtime behavior and reports suspicious activity to Security Command Center.
    • BThat governs Cloud Storage permissions.
    • CNAT logs record outbound connections, not container behavior.
    • DSnapshots back up disk data; they don't watch running containers.
  5. Question 5

    Which service provides centralized, near-real-time visibility into security findings such as misconfigurations and vulnerabilities across an organization's Google Cloud resources?

    • ASecurity Command Center
    • BCloud Scheduler
    • CCloud Tasks
    • DCloud Build
    Show answer and explanation

    Answer: A) Security Command Center

    • ASecurity Command Center aggregates asset inventory, vulnerabilities, and threats across the organization for centralized visibility and response.
    • BCloud Scheduler triggers jobs on a schedule and has no security-finding aggregation role.
    • CCloud Tasks manages asynchronous task execution, unrelated to security posture visibility.
    • DCloud Build runs CI/CD pipelines; it does not aggregate security findings across the organization.
  6. Question 6

    How does a customer-supplied encryption key (CSEK) differ from a customer-managed encryption key (CMEK)?

    • AWith CSEK, you supply the key with each request
    • BCSEK keys are stored in Cloud KMS
    • CCSEK is Google's default encryption
    • DCSEK and CMEK are identical
    Show answer and explanation

    Answer: A) With CSEK, you supply the key with each request

    • AGoogle doesn't store CSEKs; with CMEK, keys are managed in Cloud KMS.
    • BCMEK keys live in Cloud KMS; CSEKs are provided by the customer at request time.
    • CDefault encryption uses Google-managed keys.
    • DThey differ in where keys are held and how they're provided.
  7. Question 7

    A financial services customer is onboarding to Google Cloud. Its external auditors ask for Google Cloud's current SOC 2 report and ISO/IEC 27001 certificate as evidence of the provider's controls. Where should the customer's compliance team get these documents?

    • ADownload them from Google Cloud's Compliance Reports Manager
    • BExport them from the Security Command Center compliance view
    • CCreate an Assured Workloads folder that generates them
    • DEnable Access Transparency logs and give them to the auditors
    Show answer and explanation

    Answer: A) Download them from Google Cloud's Compliance Reports Manager

    Google Cloud publishes its third-party audit reports and certifications, including SOC reports and ISO/IEC certificates, in Compliance Reports Manager. Tools such as Security Command Center, Assured Workloads and Access Transparency deal with the customer's own posture and controls.

    • ACorrect. Compliance Reports Manager gives on-demand access, at no extra cost, to Google Cloud's ISO/IEC certificates, SOC reports, other third-party audits and self-assessments. Some resources require signing in with a Google Cloud account.
    • BIncorrect. Security Command Center checks the customer's own resources against security benchmarks and standards. It does not provide Google's independent audit reports or certificates.
    • CIncorrect. Assured Workloads applies controls such as data residency and personnel restrictions to customer workloads. It does not issue or distribute Google's SOC or ISO audit reports.
    • DIncorrect. Access Transparency logs record actions that Google personnel take on customer content. They are operational logs, not third-party certification or attestation reports.
  8. Question 8

    A retailer processes payment cards on Google Cloud. Its analytics team needs to join transactions by card but never needs the actual primary account number (PAN). The architect wants to keep the analytics environment out of PCI DSS assessment scope as far as possible. What should the architect recommend?

    • ATokenize PANs at ingestion and isolate the cardholder data environment in dedicated projects inside a VPC Service Controls perimeter
    • BStore full PANs in the analytics BigQuery dataset encrypted with customer-managed keys from Cloud KMS
    • CKeep analytics and payment workloads in one project and rely on Google Cloud's Level 1 service provider attestation
    • DKeep full PANs in the analytics dataset and restrict who can query it with fine-grained IAM roles
    Show answer and explanation

    Answer: A) Tokenize PANs at ingestion and isolate the cardholder data environment in dedicated projects inside a VPC Service Controls perimeter

    PCI DSS scope depends on where cardholder data is stored and transmitted. Tokenizing PANs and segmenting the cardholder data environment with dedicated projects and VPC Service Controls is Google's recommended way to reduce scope. Encryption, IAM, and Google's own attestation do not remove systems from the customer's scope.

    • ACorrect. Google's PCI scope-reduction guidance recommends tokenization together with segmentation through the resource hierarchy and VPC Service Controls. Analytics systems that see only tokens, kept separate from the systems that store or transmit PANs, can be kept out of the cardholder data environment.
    • BIncorrect. CMEK encryption is reversible, and the retailer holds the keys, so the dataset and the systems that use it still store cardholder data and stay in scope. Unlike a token, an encrypted PAN can be recovered.
    • CIncorrect. Google's attestation covers Google's share of the responsibility. Customers are still responsible for making sure their applications are PCI DSS compliant. Putting everything in one project also brings the analytics systems into scope.
    • DIncorrect. Access control is required, but it does not take the dataset out of scope. Any system that stores PANs is part of the cardholder data environment, however tightly access is restricted.
  9. Question 9

    A compliance regime requires that data is protected not only at rest and in transit but also while being processed in memory, so that even a compromised hypervisor cannot read it. Which Google Cloud capability addresses data-in-use protection?

    • AConfidential VMs (Confidential Computing), which keep memory encrypted during processing using hardware (e.g. AMD SEV)
    • BEnabling CMEK on the boot disk
    • CServing traffic over TLS
    • DA VPC Service Controls perimeter
    Show answer and explanation

    Answer: A) Confidential VMs (Confidential Computing), which keep memory encrypted during processing using hardware (e.g. AMD SEV)

    • AConfidential Computing encrypts the VM's memory with keys the hypervisor cannot access, so data stays protected while in use, closing the in-memory gap.
    • BCMEK protects data at rest on the disk, not the data being processed in RAM.
    • CTLS covers data in transit only.
    • DVPC-SC limits where data can move between services; it doesn't encrypt memory during computation.
  10. Question 10

    A CMEK key protects sensitive data, and policy requires a new key version every 90 days without manual work. What should be configured?

    • AAutomatic key rotation
    • BDelete and recreate the key
    • CUse Google default encryption
    • DDisable the key every 90 days
    Show answer and explanation

    Answer: A) Automatic key rotation

    • ACloud KMS can rotate symmetric keys automatically on a defined schedule.
    • BDeleting a key would make data encrypted with it unreadable.
    • CDefault encryption doesn't give the customer control of rotation.
    • DDisabling blocks use; it doesn't create new versions.

Designing for security and compliance: FAQs

How much of the Professional Cloud Architect exam is Designing for security and compliance?

Designing for security and compliance is 17% of the Professional Cloud Architect exam by the official exam guide's weighting, which on a 55-question form works out to roughly 9 questions. The real exam's exact split varies by form.

What does the Designing for security and compliance domain cover?

Designing for security and regulatory compliance: identity, data protection and the controls Google Cloud offers.

How should I study Designing for security and compliance for Professional Cloud Architect?

Practise least-privilege answers using predefined roles and service accounts; broad primitive roles are rarely correct.

Where can I practise more Designing for security and compliance questions?

This page has 10 free Designing for security and compliance questions with answers. CertRidge's Professional Cloud Architect question bank has 105 questions in this domain. Every practice exam result breaks your score down by domain, and Review Mode re-drills the questions you missed.

Get Designing for security and compliance exam-ready

The full Professional Cloud Architect bank has 105 Designing for security and compliance questions. Timed practice exams match the real exam's length and domain weights, every result shows your score per domain, and Review Mode re-drills the questions you missed.

Not affiliated with Google Cloud; questions are original and never copied from the real exam.