Courseiva

CPENT · topic practice

Cloud And Hybrid Infrastructure Security practice questions

This domain covers securing and attacking cloud and hybrid estates: AWS, Azure, and GCP logging and monitoring gaps, container runtime weaknesses, Kubernetes misconfigurations, and identity abuse. CPENT tests it through scenario questions where you analyze configurations, trace privilege escalation paths, and identify which weaknesses actually enable compromise rather than merely looking suspicious.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Cloud And Hybrid Infrastructure Security

What the exam tests

What to know about Cloud And Hybrid Infrastructure Security

You must analyze real cloud and container configurations, trace how misconfigurations chain into host or tenant compromise, and distinguish genuine deficiencies from noise. The single most important skill is mapping an observed weakness to the exact privilege or data it actually grants an attacker.

Spotting deficient cloud logging: missing CloudTrail, Activity Log, or VPC flow log coverage

Exploiting container capabilities like CAP_SYS_ADMIN and cgroup v1 release_agent for host escape

Abusing Azure App Service Managed Identity via SSRF to reach the Instance Metadata Service token endpoint

Identifying Kubernetes misconfigurations: privileged pods, hostPath mounts, hostNetwork, and over-permissive RBAC

Watch out for

Common Cloud And Hybrid Infrastructure Security exam traps

  • ▸Treating any enabled logging as sufficient; auditors look for gaps in coverage, retention, and alerting across accounts and subscriptions.
  • ▸Assuming a container shell alone means host compromise; escape requires specific capabilities, mounts, or kernel weaknesses.
  • ▸Confusing Managed Identity token theft with credential dumping; the SSRF reaches IMDS, not the local disk or registry.

Practice set

Cloud And Hybrid Infrastructure Security questions

20 questions · select your answer, then reveal the explanation

A penetration tester is analyzing a Kubernetes cluster deployed on AWS (EKS) where a compromised pod is running with a service account that has access to the AWS IAM OIDC provider endpoint. The pod's container is running as root and has the host network namespace enabled. Which technique allows the tester to pivot from the container to the underlying cloud infrastructure?

While reviewing a hybrid identity deployment utilizing Azure AD Connect, a penetration tester observes that Password Hash Sync (PHS) is enabled alongside Pass-Through Authentication (PTA). What security implication does this configuration present during an on-premises domain compromise?

During an Azure assessment, an auditor finds that a Logic App has an HTTP trigger with no authentication mechanism configured (Anonymous access). The Logic App has permissions to read sensitive Azure Blob Storage containers. What type of vulnerability does this represent?

During an assessment of an Azure tenant, an attacker successfully exploits a user credential and enumerates enterprise applications. They identify a service principal with a high-privilege app role assignment (e.g., PrivilegedRoleAdministrator.ReadWrite.All). What is the primary attack path enabled by this misconfiguration?

An AWS penetration tester identifies an EC2 instance configured with an IAM instance profile that grants broad s3:* permissions across all S3 buckets in the account. What AWS service feature should be recommended to restrict these permissions based on least privilege?

An AWS administrator wants to prevent users from accidentally creating public Amazon S3 buckets across the entire AWS account. Which specific AWS feature should be enabled?

A penetration tester is analyzing a Kubernetes cluster where a pod has the hostPath volume configured to mount the host's /var/run/docker.sock file. The container runs a standard Linux distribution without tools installed. How can the tester leverage this configuration to achieve a full cluster takeover?

A penetration tester is assessing an AWS environment where an AWS Lambda function has an execution role with permissions to invoke other Lambda functions and update IAM policies. The function code is vulnerable to command injection. How can this be leveraged for persistence or privilege escalation?

An AWS administrator wants to ensure that all data stored in newly created Amazon S3 buckets is automatically encrypted at rest using server-side encryption with customer-managed keys (SSE-KMS). What is the most scalable way to enforce this?

An AWS penetration tester discovers that an Amazon DynamoDB table contains sensitive PII stored in plaintext, and the table is encrypted using the default AWS owned key rather than a customer managed KMS key. What is the security recommendation?

A penetration tester is assessing a Kubernetes cluster deployment. Which THREE of the following container or cluster configurations represent severe container escape or privilege escalation risks? (Choose THREE)

During a hybrid cloud assessment, a penetration tester examines the connection between an on-premises Active Directory and Azure AD. Which THREE of the following mechanisms or misconfigurations could lead to credential exposure or privilege escalation in the hybrid environment? (Choose THREE)

A penetration tester is evaluating AWS IAM policies for privilege escalation paths. Which THREE of the following IAM action combinations enable direct or indirect privilege escalation in an AWS environment? (Choose THREE)

A penetration tester is analyzing an enterprise cloud infrastructure utilizing both AWS and Azure. Which THREE of the following attack vectors or misconfigurations are relevant to hybrid and cloud security assessments? (Choose THREE)

A penetration tester is evaluating cloud container security and hybrid orchestration platforms. Which THREE of the following techniques or conditions facilitate container escapes or host compromise? (Choose THREE)

A penetration tester is assessing an advanced hybrid cloud and Kubernetes infrastructure. Which THREE of the following scenarios represent critical architecture or configuration flaws? (Choose THREE)

During an assessment of a hybrid Active Directory environment, a penetration tester compromises an on-premises user account that is synchronized to Azure AD via Azure AD Connect. The tester notices that the on-premises account is a member of the local 'Backup Operators' group. Which hybrid attack path is most directly enabled by this configuration?

An organization stores sensitive application backups in an Amazon S3 bucket. During a cloud penetration test, the tester finds that the S3 bucket policy explicitly allows 's3:GetObject' to '*' without any AWS:SourceIp or aws:SourceArn conditions, but the bucket is marked with 'Block Public Access' enabled at the account level. What is the impact of this configuration?

A penetration tester is performing a container escape on a Kubernetes cluster. The tester gains remote code execution inside a pod and discovers that the container is running with privileged mode disabled, but the service account token mounted at /var/run/secrets/kubernetes.io/serviceaccount/token has permissions to create new Pods using the cluster-admin cluster role. Which kubectl command or API call pattern should the tester use to achieve a container escape to the underlying host?

During a container security assessment, a penetration tester identifies a Kubernetes pod running with 'CAP_SYS_ADMIN' capabilities and the host's PID namespace shared ('hostPID: true'). Which technique allows the tester to escape the container and execute code on the host?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Cloud And Hybrid Infrastructure Security sessions

Start a Cloud And Hybrid Infrastructure Security only practice session

Every question in these sessions is drawn from the Cloud And Hybrid Infrastructure Security domain — nothing else.

Related practice questions

Related CPENT topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the CPENT exam test about Cloud And Hybrid Infrastructure Security?
You must analyze real cloud and container configurations, trace how misconfigurations chain into host or tenant compromise, and distinguish genuine deficiencies from noise. The single most important skill is mapping an observed weakness to the exact privilege or data it actually grants an attacker.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Cloud And Hybrid Infrastructure Security questions in a focused session?
Yes — the session launcher on this page draws every question from the Cloud And Hybrid Infrastructure Security domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other CPENT topics?
Use the topic links above to move to related areas, or go back to the CPENT question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the CPENT exam covers. They are not copied from any real exam or dump site.