GIAC Public Cloud Security (GPCS) Exam Prep
Free practice questions

Free GPCS Practice Questions

10 exam-style questions with answers and explanations, straight from our 1,030-question bank. Tap an answer to check yourself. When you're ready, take the scored version in the free practice test.

Start the free practice test → ★★★★★4.9/5 from 2,400+ candidates · No signup

The GPCS exam has 75 questions and runs 2 hours.

These 10 free GPCS questions are organized by exam domain, so you can see how each part of the GIAC Public Cloud Security (GPCS) blueprint is tested. Reveal the answer and explanation under each question.

Domain 1: Cloud Data Protection

Question 1

After an application moves from Azure VNet A to VNet B, Blob Storage reads fail. The storage hostname resolves to the private endpoint's 10.4.1.6 address in A but to a public address in B. Both networks use Azure-provided DNS, and B can reach 10.4.1.6 on TCP 443. The existing private endpoint has a private DNS zone; A still hosts production applications. Which change corrects B's name resolution while keeping storage access private?

Show answer & explanation

Correct answer: C - Link VNet B to the existing private DNS zone.

Question 2

A packet trace shows a partner at 203.0.113.20:53000 reaching an EC2 API at 10.0.2.8:443. The server's response is rejected by the subnet network ACL. The ACL allows inbound TCP 443 from the partner but denies outbound traffic; security groups and routing permit the exchange. Which allowance belongs on the return path?

Show answer & explanation

Correct answer: C - Outbound TCP to 203.0.113.20/32, destination port 53000.

Domain 2: Cloud Identity and Access Management

Question 3

A planned archive migration must replace an AWS KMS wrapping key without rewriting the encrypted file payloads. Each file has its own data encryption key (DEK), wrapped by the original KMS key. Neither key is compromised, both KMS keys are available, and the migration role has the required permissions. Which operation changes the key dependency while meeting the migration constraint?

Show answer & explanation

Correct answer: D - Rewrap each DEK with the new KMS key and retain the file ciphertext.

Domain 3: Cloud Integration and Benchmarking

Question 4

An Azure engineer has two custom role assignments on the same VM. One allows virtual-machine management but excludes deletion through NotActions; the other permits VM deletion. Both assignments are effective, and no deny assignment or resource lock applies. How will Azure evaluate a deletion request from this engineer?

Show answer & explanation

Correct answer: D - Allow it; the second role grants the permission excluded from the first.

Question 5

A deployment operator cannot read confidential exports directly and lacks Service Account Token Creator. The operator can, however, create Compute Engine VMs with chosen startup code and attach a service account that can read those exports. A review concludes that the missing token-creation role prevents indirect access. What capability has the reviewer overlooked?

Show answer & explanation

Correct answer: B - Running chosen VM code with the attached service account's access.

Domain 4: Multicloud and Credential Management Fundamentals

Question 6

The billing API receives a JWT access token using the RFC 9068 profile. Its signature and time checks pass, its issuer is trusted, and scope includes billing.read. The aud claim identifies only the inventory API. Which response respects the token's intended use?

Show answer & explanation

Correct answer: A - Reject it; the billing API is outside the token's intended audience.

Question 7

A release audit has 100 applicable cloud-security checks: 80 passed, 5 failed, and 15 could not run because the collector lacked permissions. The organization's release policy requires at least 90% passing among assessed checks and assessment of at least 95% of applicable checks. Which evaluation correctly handles both the results and the missing evidence?

Show answer & explanation

Correct answer: D - 94.1% pass; 85% coverage. Keep unassessed results unknown; repair collection and reevaluate before approval.

Domain 5: Securely Accessing Cloud Services

Question 8

During active data theft, responders isolate a compromised EC2 instance and disable its metadata endpoint. CloudTrail then records further object downloads from an external address using role credentials issued before isolation. The instance's IAM role is dedicated to this workload. Which action blocks the credentials already in use?

Show answer & explanation

Correct answer: B - Deny sessions issued before the containment cutoff.

Domain 6: Securing Cloud Application Service Platforms

Question 9

A mobile app signs in as user u7. Firestore rules permit reads only when request.auth.uid equals the document's ownerUid. Reading a single invoice owned by u7 succeeds, but collection('invoices').get() is denied. Every invoice currently in that collection belongs to u7. What makes the collection request unacceptable?

Show answer & explanation

Correct answer: A - The query could return documents outside the ownership allowed by the rules.

Domain 7: Securing Cloud Storage Platforms

Question 10

Partner A's read-only Azure Blob service SAS is exposed in a public incident ticket. It references stored access policy partner-a. Partner B's still-valid SAS references partner-b; both were signed with account key 1, which was not exposed. After the change propagates, A's SAS must fail while B keeps using its existing SAS. How can this separation be achieved?

Show answer & explanation

Correct answer: B - Delete the partner-a stored access policy while preserving partner-b.

The rest of the GPCS blueprint

The GPCS exam also covers these domains. Drill them in the full free practice test:

That's 10 of 1,030

The full bank has 1,020 more GPCS questions with explanations.

Continue in the free practice test →

View plans