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.
These 10 free GCSA questions are organized by exam domain, so you can see how each part of the GIAC Cloud Security Automation blueprint is tested. Reveal the answer and explanation under each question.
Domain 2: Automated Cloud Remediation
Question 1
A queued AWS Config finding reports public SSH access to a security group. The remediation worker is authorized to remove TCP 22 permissions from 0.0.0.0/0. Its fresh read of every rule shows that an administrator has already restricted SSH to the approved operations subnet; the only remaining public rule allows HTTPS. How should the worker complete this task?
Show answer & explanation
Correct answer: D - Record the compliant current state and finish without changing the rules.
Domain 4: Cloud Native Observability
Question 2
The latency gate for a release requires at least 98.5% of the service's requests to complete in no more than 300 ms. During the same 10-minute window, Pod A handles 1,000 requests, with 940 meeting that limit; Pod B handles 9,000, with 8,990 meeting it. The histogram boundaries match, and each request is counted once. All other release checks pass; there is no per-Pod latency gate. Select the decision supported by the combined measurements.
Show answer & explanation
Correct answer: B - Promote: 9,930 of 10,000 requests, or 99.3%, met the service-wide latency requirement.
Domain 5: Container Lifecycle Security
Question 3
A release gate flags libparse 4.2.1-17 in a container image as vulnerable because its upstream version is below 4.2.6. The installed package's distributor and exact build have been verified. The distributor's applicable security advisory explicitly lists that build as containing the fix through a backport. The scanner used only the upstream version comparison. What disposition does the available evidence support?
Show answer & explanation
Correct answer: A - Mark this exact package finding as a false positive, attaching the distributor's advisory.
Domain 7: Edge Identity and Authentication
Question 4
JWT verification in an API checks issuer, audience, lifetime, and signing algorithm. It obtains the verification key from a URL in the token's header, using the key identifier (kid) to select a key. A tester hosts a key at a URL they control and signs a token containing the expected claims; the API accepts it. Which change repairs the failed trust decision?
Show answer & explanation
Correct answer: C - Resolve kid only against keys obtained through the approved issuer's configured trust path.
Domain 9: Microservice API Gateways
Question 5
Three requests reach the same Istio-protected API over authenticated mutual TLS: a valid JWT is accepted, an invalidly signed JWT is rejected, and a request with no JWT is accepted. A RequestAuthentication policy trusts the intended issuer; no AuthorizationPolicy applies. The API must admit valid token holders and reject requests without an end-user token. What additional policy meets that requirement?
Show answer & explanation
Correct answer: A - An ALLOW AuthorizationPolicy matching requestPrincipals: ["*"].
Domain 12: Risks, Authentication, and Access-Control of Container Orchestration
Question 6
After a permissions review, an engineer loses get, list, and watch access to Secrets in the integration namespace but retains permission to create Pods there and read their logs. No admission policy restricts those Pods' commands or Secret volumes. The engineer knows the name of a credential Secret in that namespace. What access remains possible?
Show answer & explanation
Correct answer: B - New Pods can mount the Secret and expose it through their logs.
Domain 14: Securing the DevOps Workflow
Question 7
Contributors must be able to test forked pull requests before merge without access to production credentials. A GitHub Actions workflow uses pull_request_target, checks out the contributor's commit, and executes its tests with a production secret injected. The secret is masked in logs. Which redesign provides the required separation?
Show answer & explanation
Correct answer: A - Use disposable runners for an unprivileged pull_request workflow without production credentials.
Question 8
A code-review assistant encounters a repository comment instructing it to deploy the current branch to production. Its repository token is read-only, but it can invoke a deployment tool authenticated with a separate administrator identity. The assistant's approved role is limited to reporting findings. What most directly prevents the unauthorized deployment?
Show answer & explanation
Correct answer: A - Remove production deployment capability from the assistant's tool access.
Domain 17: Utilizing Configuration Management
Question 9
An engineer runs ansible-playbook edge.yml --check to rehearse a proxy update. The first task uses ansible.builtin.template to render a configuration file and has no check_mode setting. The second uses ansible.builtin.service with state: reloaded and sets check_mode: false on that task. The service is running, both modules support check mode, and all inputs are available. If execution reaches both tasks, what can happen on the managed host?
Show answer & explanation
Correct answer: D - The template simulates changes; the service reload runs normally.
Domain 18: Workload Security in Container Orchestration
Question 10
During an EKS security test, code inside an application's Pod obtains credentials from EC2 instance metadata and writes an S3 object. The application's IAM role for service accounts (IRSA) allows only its required object reads. CloudTrail identifies the writer as the node's instance-profile role. The application must keep its approved read access. Which correction addresses the access path shown by this evidence?
Show answer & explanation
Correct answer: B - Restrict Pod access to instance metadata and remove unnecessary node-role permissions.