Courseiva

CCNA Security Foundations and Governance Questions

15 questions · Security Foundations and Governance · All types, answers revealed

1
MCQmedium

A company wants to implement a governance strategy that prevents any member account in the organization from disabling CloudTrail or deleting the organization-level trail. What is the most effective way to implement this while allowing account administrators to manage their own local resources?

A.Create an IAM role in each member account that only the security team can assume to manage CloudTrail.
B.Enable AWS Config in all accounts and create a custom rule to restart CloudTrail if it is stopped.
C.Enable an organization trail in the management account and apply an SCP to deny CloudTrail modification in member accounts.
D.Use AWS CloudFormation StackSets to deploy a local trail in each account with a strict resource-based policy.
AnswerC

Creating a trail at the organization level ensures uniform logging across all accounts. The SCP provides the necessary guardrail by explicitly denying destructive actions on CloudTrail resources for all principals in member accounts. This ensures that the audit trail remains active and protected from unauthorized changes throughout the organization.

Why this answer

To maintain governance in a multi-account environment, organizational trails should be used. By creating the trail at the organization level, it is automatically deployed to all accounts. Combining this with a Service Control Policy (SCP) that denies 'cloudtrail:StopLogging' and 'cloudtrail:DeleteTrail' ensures that member accounts cannot tamper with the audit logs, providing immutable governance across the enterprise.

2
MCQeasy

Which AWS IAM best practice ensures that users have only the permissions necessary to perform their specific business roles?

A.Assign the 'AdministratorAccess' policy to all users.
B.Apply the Principle of Least Privilege.
C.Use only root account credentials for all tasks.
D.Allow all traffic in Security Groups.
AnswerB

This principle is the cornerstone of IAM security. By granting only the specific permissions needed for a job, you limit the potential for error and malicious activity. This approach is standard for all security governance frameworks, ensuring that every identity is constrained to its legitimate scope of operation.

Why this answer

The 'Principle of Least Privilege' is the foundational concept in security governance. By ensuring that identities are granted the minimum level of access required to complete their tasks, organizations significantly reduce the blast radius if an account is compromised. This strategy prevents lateral movement and unauthorized data access, creating a much more resilient environment where security controls are proportional to the user's operational needs.

3
Multi-Selecthard

A company wants to implement a robust governance framework for their AWS accounts using AWS Control Tower. They need to ensure that specific security guardrails are applied to their 'Financial-Apps' Organizational Unit (OU). Which TWO types of guardrails can be applied within Control Tower?

Select 2 answers
A.Preventive guardrails using Service Control Policies (SCPs).
B.Detective guardrails using AWS Config rules.
C.Reactive guardrails using AWS Systems Manager Automation documents.
D.Proactive guardrails using IAM Permission Boundaries.
E.Administrative guardrails using AWS IAM Identity Center (Succeeded AWS SSO).
AnswersA, B

Preventive guardrails in Control Tower use SCPs to enforce policies by preventing actions that violate compliance. For example, a preventive guardrail might stop users from deleting log archives or changing critical network settings. These are enforced at the organization level and cannot be bypassed by local account administrators.

Why this answer

AWS Control Tower provides two types of guardrails: preventive and detective. Preventive guardrails are implemented using Service Control Policies (SCPs) to block unauthorized actions. Detective guardrails are implemented using AWS Config rules to monitor and alert on non-compliant resource configurations.

Together, they provide a comprehensive governance layer for managing account compliance and security.

4
MCQeasy

Which AWS service is best suited for providing a comprehensive, searchable audit trail of every API call made in an AWS account?

A.Amazon CloudWatch Logs
B.AWS CloudTrail
C.AWS Config
D.AWS Systems Manager
AnswerB

CloudTrail is specifically designed to log all API calls made within an AWS account. It records the identity of the caller, the time of the call, the source IP, and the request parameters, providing a complete audit trail that is essential for security auditing and operational troubleshooting.

Why this answer

AWS CloudTrail is the definitive service for tracking user activity and API usage. By recording events as log files, it provides an immutable history of actions taken by users, roles, or services. This is a foundational governance requirement, as it allows security teams to reconstruct events during investigations, verify identity actions, and comply with regulatory requirements regarding data access and infrastructure modifications.

5
MCQeasy

According to the AWS Shared Responsibility Model, which of the following security tasks is the sole responsibility of the customer when using Amazon EC2 instances?

A.Patching the underlying virtualization software on the physical host.
B.Maintaining the physical security of the data centers where instances reside.
C.Managing and patching the guest operating system installed on the instance.
D.Disposing of decommissioned physical storage drives in a secure manner.
AnswerC

When a customer launches an EC2 instance, they have full administrative control over the guest operating system. Therefore, the customer is responsible for installing security updates, managing user access, and configuring the OS-level firewall. This is a primary example of security 'in' the cloud.

Why this answer

The Shared Responsibility Model distinguishes between security 'of' the cloud (AWS) and security 'in' the cloud (customer). For infrastructure services like EC2, AWS manages the physical hardware, virtualization layer, and facility security. The customer is responsible for everything from the operating system up, including patching the OS, managing firewall rules, and protecting their data.

6
Multi-Selectmedium

An organization wants to enforce encryption at rest for all S3 buckets using AWS Organizations. Which TWO actions should the security team perform to ensure consistent governance?

Select 2 answers
A.Create an SCP that denies s3:PutObject if x-amz-server-side-encryption is not present.
B.Enable S3 Block Public Access on all accounts via AWS Organizations.
C.Deploy an SCP that denies s3:CreateBucket unless the request includes default encryption configuration.
D.Use AWS Trusted Advisor to manually audit all buckets for encryption status.
E.Apply a bucket policy to every S3 bucket in the account.
AnswersA, C

This SCP effectively prevents any user or service from uploading data to S3 without specifying server-side encryption. By denying the write action at the account boundary level, you ensure that even if a bucket policy is missing, the data cannot be stored in an unencrypted state.

Why this answer

Using Service Control Policies (SCPs) allows for the enforcement of security guardrails across an entire organization. By denying the 'PutObject' operation if encryption headers are missing, and creating an SCP to restrict 'CreateBucket' unless encryption is specified, the organization ensures that all new and existing data remains encrypted. This proactive governance approach prevents developers from accidentally launching non-compliant storage resources, effectively maintaining a secure infrastructure footprint.

7
Multi-Selectmedium

A company is preparing for an annual regulatory audit and needs to collect evidence of their compliance with the SOC 2 framework across multiple AWS accounts. Which TWO AWS services or features should the security team use to automate the collection of evidence and download official compliance reports?

Select 2 answers
A.AWS Artifact
B.AWS Audit Manager
C.AWS Security Hub
D.AWS CloudTrail
E.AWS Trusted Advisor
AnswersA, B

AWS Artifact is the go-to central resource for compliance-related information. It provides on-demand access to AWS's security and compliance reports, such as SOC, PCI, and ISO certifications. Auditors require these documents to verify that the underlying AWS infrastructure meets the necessary regulatory standards and security controls for the organization.

Why this answer

AWS Audit Manager and AWS Artifact are the primary services for governance and compliance evidence management. Audit Manager automates the process of gathering evidence from various AWS services to assess compliance with frameworks. AWS Artifact provides a central repository for on-demand access to AWS’s own security and compliance reports, which are essential for satisfying external auditors' requirements.

8
MCQmedium

A security engineer must ensure that no developer in a specific AWS Organizations member account can delete Amazon S3 buckets, even if they have AdministratorAccess. Which governance mechanism provides the most efficient and centralized way to enforce this restriction across the organizational unit?

A.Apply a resource-based policy to every S3 bucket that denies the s3:DeleteBucket action.
B.Attach a Service Control Policy (SCP) to the Organizational Unit with a Deny statement for s3:DeleteBucket.
C.Create an IAM Permission Boundary and apply it to every IAM user and role within the member account.
D.Configure AWS Config rules to automatically remediate and recreate any deleted S3 buckets.
AnswerB

SCPs allow administrators to set the maximum permissions for all accounts within an Organizational Unit. By applying a Deny statement for the delete action at the OU level, the restriction is inherited by all member accounts. This ensures that no identity, including the root user, can delete buckets regardless of their IAM permissions.

Why this answer

Service Control Policies (SCPs) function as a central guardrail within AWS Organizations, defining the maximum available permissions for accounts. They do not grant permissions but rather filter what can be granted by IAM policies. Mastering SCPs is critical for governance because they ensure that even administrative users cannot bypass organizational security mandates, providing a secondary layer of defense against unauthorized resource deletion across the entire environment.

9
MCQmedium

A security auditor requires a centralized view of security findings across all AWS accounts in an organization. Which service should be enabled to aggregate and prioritize these findings?

A.AWS Config
B.AWS Security Hub
C.Amazon GuardDuty
D.AWS IAM Access Analyzer
AnswerB

Security Hub provides a comprehensive view of security alerts and compliance status across an entire AWS Organization. It integrates with native AWS services and third-party partner products to normalize data into the AWS Security Finding Format, facilitating efficient monitoring, prioritization, and automated remediation workflows for security teams.

Why this answer

AWS Security Hub serves as the central hub for security posture management. By enabling Security Hub in the management account and configuring it to aggregate data from member accounts, auditors gain a unified dashboard. This is essential for maintaining governance and compliance at scale, as it correlates findings from GuardDuty, Inspector, and IAM Access Analyzer into a single actionable view, significantly reducing the operational overhead of manual account-by-account reviews.

10
MCQmedium

A company requires that all cloud resources be tagged with a 'Department' code for cost allocation and security reporting. How should they enforce this?

A.Use AWS Budgets to force tagging.
B.Use AWS Config rules to monitor tagging compliance.
C.Use an IAM policy to prevent resource creation.
D.Use AWS Trusted Advisor to tag resources.
AnswerB

AWS Config is designed for continuous assessment and compliance monitoring. By setting up a 'required-tags' rule, the organization can automatically audit all resources for the presence of the required 'Department' tag, enabling automated reporting and alerting on any resources that fail to meet the company's tagging policy.

Why this answer

AWS Config is the primary tool for auditing and ensuring resource compliance. By defining a custom or managed Config rule that checks for the existence of the 'Department' tag on resources, the organization can receive alerts when non-compliant resources are created. This ensures visibility into the state of the infrastructure and allows for timely remediation of tagging errors, supporting both financial governance and security-focused asset management.

11
MCQmedium

An organization wants to centralize the management of Amazon GuardDuty across 50 AWS accounts. They want the security team to be able to view and manage findings for all accounts from a single dashboard. What is the recommended governance approach?

A.Use an AWS CloudFormation StackSet to enable GuardDuty and an SNS topic in every account.
B.Designate a security account as the GuardDuty delegated administrator through the AWS Organizations management account.
C.Manually send invitations from the security account to each of the 49 member accounts to link them.
D.Configure an Amazon S3 bucket in each account to store findings and use Athena for centralized querying.
AnswerB

This is the AWS-recommended approach for multi-account governance. The delegated administrator can manage GuardDuty for the entire organization, including auto-enrolling new accounts. This provides a single pane of glass for findings and centralizes the administration of threat detection without requiring manual cross-account configuration.

Why this answer

AWS Organizations allows for delegated administration of security services. By designating a security account as the GuardDuty delegated administrator, the organization centralizes finding management. This allows the security team to enable GuardDuty in member accounts, view all findings, and manage suppression rules from one place, ensuring consistent threat detection governance across the entire enterprise.

12
MCQhard

Refer to the exhibit. An administrator applied this policy to a bucket, but users are still able to upload unencrypted objects. Why is this occurring?

A.The policy lacks a wildcard in the resource ARN.
B.The condition only checks the header if it exists in the request.
C.The 'Effect' should be changed to 'Allow'.
D.The policy needs an 'Action' of 's3:PutObjectTagging'.
AnswerB

In AWS IAM policy logic, if a header is missing from the request, the 'StringNotEquals' condition does not evaluate to true, so the 'Deny' effect is not applied. The request proceeds as if the condition were not there, allowing unencrypted uploads to bypass the security check.

Why this answer

The policy uses the 's3:x-amz-server-side-encryption' condition key, which is only present if the client specifically sends that header. If a user performs a standard 'PutObject' without the encryption header, the request does not match the condition, and the 'Deny' effect is not triggered. To fix this, the policy must explicitly deny requests where the header is absent, ensuring that all uploads are forced to include mandatory encryption headers.

13
MCQmedium

A security engineer needs to verify if all AWS accounts in the organization are compliant with the CIS AWS Foundations Benchmark. Which service provides a centralized compliance dashboard and the ability to run automated checks against this specific benchmark?

A.AWS Trusted Advisor
B.AWS Security Hub
C.AWS Config
D.AWS Artifact
AnswerB

Security Hub is the primary tool for evaluating compliance with security standards. It automatically runs continuous checks against the CIS AWS Foundations Benchmark and other standards. It aggregates these results into a single dashboard, providing a clear compliance score and actionable findings for the entire AWS Organization.

Why this answer

AWS Security Hub is designed for security posture management and governance. It includes built-in security standards, such as the CIS AWS Foundations Benchmark, which consist of automated checks. By enabling Security Hub across an organization, the security team gains a centralized view of compliance scores and specific failing resources across all member accounts.

14
MCQhard

Refer to the exhibit. Why might a user in the 192.168.1.0/24 range still be denied access to the S3 bucket?

A.The CIDR range is too small for VPC traffic.
B.An explicit Deny statement exists elsewhere.
C.The resource ARN is missing the bucket name.
D.S3 does not support the 'aws:SourceIp' condition.
AnswerB

In AWS, an explicit 'Deny' always overrides an 'Allow'. Even if this user policy permits access, if a bucket policy or an SCP denies access for that user, the request will be rejected. This hierarchical evaluation is a fundamental part of AWS security governance and complex permission management.

Why this answer

IAM policy logic follows the principle of implicit deny. If there is an explicit 'Deny' statement anywhere in the policy evaluation (including the bucket policy or an SCP) that contradicts this 'Allow', access will be denied. Additionally, if the user does not have the 's3:ListBucket' permission, they might be unable to navigate the bucket, even if they can retrieve a specific object when provided with the direct key path.

15
MCQmedium

Which service should be used to securely store and automatically rotate database credentials?

A.AWS Systems Manager Parameter Store
B.AWS Secrets Manager
C.Amazon S3
D.AWS KMS
AnswerB

Secrets Manager is specifically designed for the lifecycle management of secrets. It supports automated rotation, encrypted storage, and granular access control via IAM. This makes it the recommended solution for managing database credentials, ensuring that passwords are updated frequently and securely without manual intervention or application code changes.

Why this answer

AWS Secrets Manager is the standard for managing sensitive information like database credentials. It allows for secure storage, centralized access control, and, crucially, automated rotation of passwords without downtime. This governance feature is vital for compliance, as it forces regular credential cycling, which mitigates the risk of long-lived, compromised secrets being used for unauthorized database access, thereby strengthening the overall data security posture.

Ready to test yourself?

Try a timed practice session using only Security Foundations and Governance questions.