GIAC Cloud Security Essentials (GCLD) Exam-style mock test
GIAC Cloud Security Essentials (GCLD) Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Cloud Security Fundamentals & Shared Responsibility
A B2B SaaS company runs its billing service on a cloud provider's IaaS virtual machines. After a breach, investigators find an attacker exploited an unpatched OpenSSL version on those VMs. Under the shared responsibility model for IaaS, who is responsible for applying the OpenSSL patch?
・The cloud provider, because it owns and physically maintains the hypervisor and all underlying compute hardware
Incorrect. Provider responsibility stops at the hypervisor and hardware; it does not extend into the guest OS the tenant operates.
✓The customer, because guest operating system and installed software patching falls to the tenant in IaaS
Correct. In IaaS the customer manages the guest OS and everything above it, so patching OpenSSL on the VM is the tenant's duty.
・Both parties equally, since OpenSSL is a shared library bundled into the base machine image by default
Incorrect. The base image is a starting point, but once the VM is running the tenant owns its ongoing patching, not a split duty.
・The cloud provider, since any vulnerability exploited over the network is a provider-managed control
Incorrect. Network-exploitable does not shift ownership; the control is the guest OS package the tenant installed and runs.
Explanation
IaaS draws the line at virtualization: the provider secures hardware, network fabric, and hypervisor, while the customer owns the guest OS, runtime, and applications including their patching.
Example2 · Identity & Access Management in the Cloud
A B2B SaaS company runs a nightly batch job on a cloud compute instance that only needs to read objects from a single storage bucket. An engineer attaches a broad administrator role to the instance so the job 'never fails on permissions.' A security reviewer flags this as a least-privilege violation. Which remediation best aligns the instance's access with least privilege?
✓Grant a role that permits read-only object access scoped to that one specific bucket, and attach it to the instance's workload identity
Correct. Scoping a read-only role to the single required bucket gives the job exactly the access it needs and nothing more, which is the definition of least privilege.
・Keep the administrator role but enable detailed audit logging so that every action the batch job performs is recorded for later review
Incorrect. Logging improves detectability but the instance still holds excessive standing permissions, so the least-privilege violation remains unaddressed.
・Replace the administrator role with a role that grants full read and write access across all storage buckets in the project
Incorrect. Full read and write across all buckets is still far broader than the job's read-only, single-bucket requirement and violates least privilege.
・Add a deny policy that blocks delete actions while leaving the broad administrator role attached to the instance
Incorrect. A single deny on delete leaves vast unnecessary administrator permissions in place and only narrowly reduces risk.
Explanation
Least privilege requires granting only the permissions a workload actually needs, scoped as narrowly as possible. A read-only role limited to the one required bucket satisfies the job while eliminating excess access; logging, partial denies, or still-broad roles do not.
Example3 · Compute, Network & Storage Security
A B2B SaaS company runs its tenant-facing API on Linux virtual machines in the cloud. During a review, the security team finds that engineers log into instances over SSH using shared static key pairs stored in a team wiki. They want to eliminate long-lived credentials while keeping an audit trail of who accessed which host. Which approach best meets this goal?
・Rotate the shared SSH key pair every thirty days and restrict wiki access to the engineering group so that only authorized staff can retrieve the private key when they need host access
Incorrect. Rotating a shared key and restricting wiki access still relies on a long-lived shared credential, so individual accountability and elimination of static keys are not achieved.
✓Use the cloud provider's instance connect or session manager service that brokers short-lived, identity-based sessions logged to the central audit trail
Correct. A provider-managed connect/session service issues ephemeral identity-based access tied to each user and records sessions centrally, removing static keys while preserving an audit trail.
・Place all instances behind a bastion host and require engineers to first SSH into the bastion using the same shared key before hopping to the target VM
Incorrect. A bastion improves network exposure but reusing the same shared key keeps the long-lived-credential and attribution problem unsolved.
・Disable password authentication in the SSH daemon and move the shared private key into an encrypted secrets vault that engineers unlock at login
Incorrect. Disabling passwords is good hygiene, but vaulting a shared private key still leaves one static credential many people use, defeating per-user accountability.
Explanation
Provider-native instance connect or session manager services grant short-lived, user-identity-scoped sessions and log them centrally, directly addressing the goals of removing long-lived shared keys and attributing access to individuals.
Example4 · Logging, Monitoring & Incident Response
A healthcare services firm must prove exactly who made API calls that modified patient-data storage buckets across all of its cloud accounts. During an audit, the team discovers that control-plane activity is only being captured in the account where each resource lives, with no unified trail. Which action best establishes a complete, tamper-resistant record of administrative API activity?
✓Configure an organization-wide audit trail that delivers management-event logs from every account into a single dedicated logging account with restricted write access
Correct. A centralized, organization-scoped audit trail captures management (control-plane) API calls from all accounts and funnels them to an isolated logging account, giving a complete and tamper-resistant attribution record.
・Turn on verbose application-level debug logging inside each patient-facing microservice and ship the output to a shared log group per team
Incorrect. Application debug logs record app behavior, not the identity behind control-plane API calls that modify storage, and verbose debug output introduces noise and cost without proving administrative attribution.
・Rely on the default retention of provider console sign-in events and export them manually to a spreadsheet each month for review
Incorrect. Console sign-in events do not capture programmatic API changes to buckets, and manual spreadsheet export is neither complete nor tamper-resistant for audit purposes.
・Enable flow logs on every virtual network subnet so that packet metadata is retained for later correlation with storage changes
Incorrect. Flow logs capture network traffic metadata, not the authenticated identity or action of an API call that changes storage configuration.
Explanation
Attributing control-plane changes across many accounts requires an organization-wide management-event trail delivered to an isolated logging account; network and application logs answer different questions.
Example5 · Cloud Governance, Compliance & Automation
A healthcare services firm must guarantee that no storage bucket holding patient records is ever created with public access, even by authorized engineers. The cloud team wants this rule evaluated automatically before resources are provisioned. Which approach best enforces this governance requirement?
・Schedule a nightly reporting job that lists every bucket and emails engineers a remediation ticket whenever a public bucket is discovered in the environment
Incorrect. A nightly report is detective and reactive; the bucket is already public for hours before anyone remediates it.
✓Deploy a policy-as-code rule in the deployment pipeline that rejects any infrastructure template requesting public bucket access before provisioning
Correct. Policy-as-code evaluated in the pipeline is preventive, blocking non-compliant templates before provisioning so the public bucket never exists.
・Rely on each engineer to follow the written security standard and manually confirm bucket settings during peer review of the change request
Incorrect. Manual peer review depends on human diligence and does not automatically guarantee the rule is enforced on every change.
・Enable provider logging so that any public bucket creation is recorded and later audited by the compliance team during quarterly reviews
Incorrect. Logging and quarterly audits are detective controls that record the violation after the fact rather than preventing it.
Explanation
Policy-as-code integrated into the provisioning pipeline is a preventive guardrail that stops non-compliant infrastructure before it is deployed, satisfying the 'never public' requirement; reporting, review, and logging are detective and occur after the resource exists.
Example6 · Cloud Security Fundamentals & Shared Responsibility
A healthcare services firm migrates its patient scheduling application onto virtual machines in an IaaS environment. During a tabletop exercise the team debates who must patch the guest operating system that runs the scheduling app. According to the shared responsibility model for IaaS, which party is accountable for that patching?
✓The firm, because guest OS maintenance on IaaS virtual machines is a customer responsibility
Correct. In IaaS the customer manages everything from the guest operating system upward, so patching the guest OS of the scheduling VMs belongs to the firm.
・The cloud provider, since it owns and maintains the physical hypervisor underneath the virtual machines
Incorrect. The provider is responsible for the hypervisor and physical layer, but not for patching the customer's guest operating system.
・A neutral third-party auditor must be engaged to approve and apply every operating system patch cycle
Incorrect. The model assigns responsibilities by layer; it does not require an outside auditor to apply routine patches.
・The firm and the provider jointly sign off on each individual guest operating system patch before deployment
Incorrect. Guest OS patching is a single-party customer duty in IaaS, not a joint sign-off process with the provider.
Explanation
In IaaS the provider secures the physical hardware, virtualization, and network fabric, while the customer owns the guest OS, applications, and data. Guest OS patching therefore falls to the firm.
Example7 · Cloud Security Fundamentals & Shared Responsibility
NorthPeak Outfitters runs its inventory API on a managed container platform (PaaS) at a cloud provider. A security review asks which task remains the customer's responsibility under the shared responsibility model for this PaaS offering. Which responsibility stays with NorthPeak's team?
・Patching the host operating system and container runtime that the managed platform provisions for workloads
Incorrect. In a PaaS model the provider manages and patches the underlying host OS and runtime, so this is not the customer's task.
✓Securing the application code and the configuration of the API's access controls
Correct. Regardless of service model, the customer always owns its own application code and the configuration of access controls to that application.
・Maintaining the physical datacenter access controls and environmental systems
Incorrect. Physical datacenter and environmental controls are always owned by the cloud provider in every service model.
・Replacing failed storage hardware and managing the provider's hypervisor patching schedule
Incorrect. Hardware replacement and hypervisor patching are provider responsibilities in PaaS, not the customer's.
Explanation
The dividing line shifts with the service model, but application code and its access-control configuration remain the customer's responsibility across IaaS, PaaS, and SaaS. Host OS, hardware, and physical security move to the provider as you ascend from IaaS to PaaS.
Example8 · Cloud Security Fundamentals & Shared Responsibility
NorthPeak Outfitters moves its helpdesk from self-hosted VMs (IaaS) to a vendor's SaaS ticketing product. Which security task that NorthPeak previously handled itself is now owned by the SaaS provider?
✓Guest operating system patching and middleware maintenance for the ticketing application servers
Correct. In SaaS the provider manages the OS, middleware, and application layer, so guest OS patching that NorthPeak did under IaaS now belongs to the vendor.
・Deciding which employees receive administrative roles inside the ticketing product
Incorrect. Assigning administrative roles to NorthPeak staff remains a customer identity and access decision in SaaS.
・Classifying and labeling the customer data stored within the ticketing tickets and attachments
Incorrect. Data classification and labeling of the customer's own content always stays with the customer in every model.
・Configuring password complexity and multi-factor settings for NorthPeak's helpdesk users
Incorrect. Tenant-level account security settings for NorthPeak's users remain the customer's responsibility in SaaS.
Explanation
Ascending from IaaS to SaaS transfers OS, middleware, and application maintenance to the provider, while identity decisions, user account settings, and data classification remain with the customer.
Example9 · Cloud Security Fundamentals & Shared Responsibility
During a holiday sale, NorthPeak Outfitters sees its storefront automatically acquire more compute capacity as traffic spikes and release it afterward without any staff intervention. Which essential cloud characteristic does this behavior best illustrate?
・Measured service, where resource usage is monitored and billed transparently
Incorrect. Measured service concerns metering and billing of consumption, not the automatic scaling of capacity to demand.
✓Rapid elasticity, scaling capacity out and back in to match demand
Correct. Rapid elasticity is the automatic scaling out and in of resources to match changing demand, exactly what the storefront exhibits.
・Broad network access, reaching services over standard network protocols
Incorrect. Broad network access describes availability over the network from varied clients, not demand-driven scaling.
・Resource pooling, serving multiple tenants from shared physical infrastructure
Incorrect. Resource pooling describes multi-tenant sharing of physical infrastructure, which is not what this scenario demonstrates.
Explanation
Automatically acquiring and releasing capacity in response to demand is the defining behavior of rapid elasticity, one of the five essential characteristics of cloud computing.
Example10 · Cloud Security Fundamentals & Shared Responsibility
A financial services firm runs its core trading platform on virtual machines in an IaaS environment. During an audit, the examiner asks who is accountable for applying security patches to the guest operating system on those VMs. Under the shared responsibility model for IaaS, which answer is correct?
・The cloud provider, because it owns and maintains all of the physical servers and the underlying hypervisor layer
Incorrect. The provider manages the hypervisor and physical hardware, but guest OS maintenance in IaaS is never the provider's job.
✓The firm, since guest operating system patching remains the customer's responsibility in IaaS
Correct. In IaaS the provider stops at the virtualization layer, so the customer owns guest OS patching, configuration, and hardening.
・A neutral third-party managed service that both the provider and the firm must jointly contract before go-live
Incorrect. No mandatory joint third-party patching contract exists; responsibility is divided directly between provider and customer.
・The firm only for development VMs, while the provider silently patches every guest OS used in production
Incorrect. The provider does not patch production guest operating systems; that responsibility stays with the customer regardless of environment.
Explanation
IaaS gives the customer control of the operating system and everything above it, so guest OS patching is a customer responsibility.
Example11 · Cloud Security Fundamentals & Shared Responsibility
A bank migrates its loan-origination application from self-managed VMs to a managed PaaS runtime so developers can deploy code without maintaining servers. A security architect must explain how the responsibility boundary shifts. Compared with IaaS, what changes when moving this workload to PaaS?
✓The provider now manages the operating system and runtime, while the bank remains responsible for its application code and data
Correct. PaaS moves OS and runtime management to the provider, but application code and data stay with the customer.
・The bank gains full control over the hypervisor and the networking fabric that interconnects the provider's data centers
Incorrect. Customers never control the hypervisor or inter-datacenter fabric; those remain provider-managed in all models.
・The provider assumes responsibility for securing the bank's application code and the customer data stored within it
Incorrect. The provider never owns the customer's application code or data; those remain customer responsibilities in PaaS.
・Nothing changes at all, because responsibility boundaries are identical across every cloud service model offered
Incorrect. Boundaries clearly differ by model; PaaS shifts more to the provider than IaaS does.
Explanation
In PaaS the provider handles OS and runtime while the customer keeps responsibility for its own code and data.
Example12 · Cloud Security Fundamentals & Shared Responsibility
A manufacturing distributor runs its order-management database on IaaS virtual machines at a cloud provider. During a security review, the team debates who is accountable for installing the latest kernel patches on those VMs. Under the shared responsibility model for IaaS, who holds that responsibility?
・The cloud provider, because it owns and continuously maintains the underlying physical servers and the hypervisor layer
Incorrect. The provider secures the physical hosts and hypervisor, but the guest OS inside the VM is the tenant's domain in IaaS.
✓The customer, because guest operating system patching is a tenant responsibility in IaaS
Correct. In IaaS the customer manages the guest operating system, including applying kernel and OS patches to the VMs they run.
・Both parties jointly, since the provider must approve every operating system change the customer schedules
Incorrect. The provider does not approve or co-own guest OS changes; IaaS gives the tenant full control of that layer.
・A third-party managed service, because kernel patching is never performed by either the provider or the customer
Incorrect. A managed service is optional; by default the customer is responsible for guest OS patching in IaaS.
Explanation
IaaS places the guest OS, runtime, and applications under customer control, so patching the VM kernel is the tenant's responsibility while the provider secures the hardware and hypervisor.
Example13 · Cloud Security Fundamentals & Shared Responsibility
The distributor's HR team adopts a SaaS payroll application and also runs a custom inventory app on IaaS VMs. A manager asks how security duties differ between the two. Which statement best characterizes the difference in responsibility?
・For both the SaaS payroll app and the IaaS inventory app, the customer must patch the underlying operating system and middleware stack
Incorrect. In SaaS the provider patches the OS and middleware; the customer does not manage that stack.
✓For SaaS the provider manages the application and infrastructure while the customer governs data and access; for IaaS the customer also manages OS and apps
Correct. SaaS leaves the customer responsible mainly for data and access management, while IaaS adds OS and application responsibilities to the customer.
・For SaaS the customer manages everything except the data center; for IaaS the provider manages everything above the hardware
Incorrect. This reverses the SaaS and IaaS boundaries; SaaS gives the customer the least, not the most, infrastructure control.
・For both offerings the provider is fully responsible, so the customer has no configuration duties at all
Incorrect. Even in SaaS the customer configures access and protects data, so responsibilities are never zero.
Explanation
Responsibility shifts toward the provider as you move from IaaS to SaaS; in all models the customer retains accountability for data and access management.
Example14 · Cloud Security Fundamentals & Shared Responsibility
A telecom operator runs its customer billing application on virtual machines in an IaaS deployment. The cloud provider manages the hypervisor and the underlying physical infrastructure. During an audit, the operator must document which security tasks it owns. Which responsibility belongs to the telecom operator in this IaaS arrangement?
✓Patching the guest operating system and the application packages running inside the virtual machines
Correct. In IaaS the customer owns everything from the guest OS upward, so patching the operating system and application packages inside the VMs is the operator's duty.
・Maintaining the environmental controls and physical access security of the provider's regional data centers
Incorrect. Physical data center controls and facility access are always managed by the provider, regardless of the service model chosen by the tenant.
・Replacing failed storage hardware and managing the firmware of the physical host servers in the racks
Incorrect. Physical storage hardware and host firmware are part of the provider-managed infrastructure, not a tenant responsibility in IaaS.
・Securing and updating the hypervisor layer that isolates tenant workloads from one another on the hosts
Incorrect. The hypervisor is the virtualization layer owned and secured by the provider in every IaaS offering.
Explanation
Under the IaaS shared responsibility model the provider secures the physical facility, hardware, and hypervisor, while the customer is responsible for the guest OS, runtime, and applications.
Example15 · Cloud Security Fundamentals & Shared Responsibility
A telecom operator migrates its internal ticketing system to a fully managed SaaS help-desk platform. The security team asks what remains under their control after the migration. Which task is still the telecom operator's responsibility in this SaaS model?
・Patching the underlying application servers and the database engine that power the help-desk software
Incorrect. In SaaS the provider patches the application servers and database engine as part of the managed service.
✓Managing user accounts, access permissions, and the data the operator uploads into the platform
Correct. Even in SaaS, the customer retains responsibility for its own user identities, access control, and the data it places into the service.
・Hardening the operating system images and keeping the middleware runtime libraries up to date
Incorrect. OS hardening and middleware runtime updates are handled entirely by the SaaS provider.
・Configuring the load balancers and network segmentation between the provider's application tiers
Incorrect. Network tier configuration and load balancing within the provider's stack are provider responsibilities in SaaS.
Explanation
SaaS shifts almost all operational responsibility to the provider, but the customer always keeps ownership of identity and access management and the data it entrusts to the service.
▶ Try 10 free questions (graded)