PracticeCF

SCS-C03 Question Bank · Latest 50 Questions Free Preview (Page 5/5)

Questions 41–50 of the latest 50 SCS-C03 questions (5 pages total), with answers and explanations, no login required. Practice all 76 questions online.

Question 41 · No. 65 · Single choice

What is the effect of the following AWS Key Management Service (AWS KMS} key policy that is attached to a customer managed key? <img title="image14" src="https://img.examtopics.com/aws-certified-security-specialty-scs-c03/image14.png">

Answer: C

Explanation: The KMS key policy shown specifies conditions that restrict key usage to specific AWS services (Amazon WorkMail and Amazon SES), a specific principal (ExampleRole), and a specific AWS Region. Option C correctly describes this behavior - the customer managed key can only be used for encrypting and decrypting when the principal is ExampleRole AND when the request comes from Amazon WorkMail or Amazon SES in the specified AWS Region. Option A is incorrect because the services don't delegate permissions to ExampleRole; rather, ExampleRole uses the key through these services. Option B incorrectly mentions 'transparent' encryption, which is not how KMS works. Option D is incorrect because the policy restricts usage to specific services in a specific region, not 'any customer managed key in the account'.
Question 42 · No. 66 · Single choice

A company recently experienced a malicious attack on its cloud-based environment. The company successfully contained and eradicated the attack A security engineer is performing incident response work. The security engineer needs to recover an Amazon RDS database cluster to the last known good version. The database cluster is configured to generate automated backups with a retention period of 14 days. The initial attack occurred 5 days ago at exactly 3:15 PM\nWhich solution will meet this requirement?

Answer: A

Explanation: Option A is the correct solution because it uses RDS point-in-time recovery (PITR) to restore the database to a state just before the attack occurred. Since the attack happened at exactly 3:15 PM five days ago, setting the target time to 5 days ago at 3:14 PM will restore the database to its last known good state—exactly one minute before the malicious attack. Point-in-time recovery is more precise than restoring from snapshots because it allows restoration to any second within the retention period (in this case, 14 days). Option B is incorrect because snapshot-based recovery is less precise and may not represent the latest good state. Option C is wrong because it searches across all company RDS databases rather than the specific affected cluster. Option D would restore the database to 14 days ago, resulting in a 9-day loss of valid data, which is not the last known good version.
Question 43 · No. 67 · Single choice

A company is using AWS Organizations with the default SCP. The company needs to restrict AWS usage for all AWS accounts that are in a specific OU.\nExcept for some desired global services, the AWS usage must occur only in the eu-west-1 Region for all accounts in the OU. A security engineer must create an SCP that applies the restriction to existing accounts and any new accounts in the OU.\nWhich SCP will meet these requirements?

Answer: C

Question 44 · No. 68 · Single choice

A security engineer for a company needs to design an incident response plan that addresses compromised IAM user account credentials. The company uses an organization in AWS Organizations and AWS IAM Identify Center to manage user access. The company uses a delegated administrator account to implement AWS Security Hub. The delegated administrator account contains an organizational trail in AWS CloudTrail that logs all events to an Amazon S3 bucket. The company has also configured an organizational event data store that captures all events from the trail.\nThe incident response plan must provide steps that the security engineer can take to immediately disable any compromised IAM user when the security engineer receives a notification of a security incident.\nThe plan must prevent the IAM user from being used in any AWS account. The plan must also collect all AWS actions that the compromised IAM user performed across all accounts in the previous 7 days.\nWhich solution will meet these requirements?

Answer: D

Explanation: Option D is correct because the company uses AWS IAM Identity Center to manage user access across the organization. Disabling the IAM user's access in IAM Identity Center is the most immediate and effective way to prevent the user from accessing any AWS account in the organization. For investigating the user's actions over the previous 7 days, the company has already configured an organizational event data store in CloudTrail (CloudTrail Lake), which is specifically designed to query CloudTrail events across all accounts in the organization using a SQL-like query language, making it the ideal tool for this task. Option A and B fail because they target IAM users/policies in the organization management account, but the company uses IAM Identity Center for access management, so disabling IAM directly would not prevent Identity Center-based access. Option C is incorrect because removing permission sets is a heavier action and CloudWatch Logs Insights is not the appropriate tool to query CloudTrail logs stored in S3; it is meant for CloudWatch Logs, not S3-based logs.
Question 45 · No. 69 · Single choice

A company wants to deny a specific federated user named Bob access to an Amazon S3 bucket named DOC-EXAMPLE-BUCKET. The company wants to meet this requirement by using a bucket policy. The company also needs to ensure that this bucket policy affects Bob's S3 permissions only. Any other permissions that Bob has must remain intact.\nWhich policy should the company use to meet these requirements?

Answer: B

Question 46 · No. 70 · Single choice

A company is implementing a new application in a new AWS account. A VPC and subnets have been created for the application. The application has been peered to an existing VPC in another account in the same AWS Region for database access Amazon EC2 instances will regularly be created and terminated in the application VPC, but only some of them will need access to the databases in the peered VPC over TCP port 1521. A security engineer must ensure that only the EC2 instances that need access to the databases can access them through the network.\nHow can the security engineer implement this solution?

Answer: C

Explanation: Option C is the correct answer because it leverages AWS security group referencing across peered VPCs, which is a native AWS feature. By creating a security group in the application VPC and referencing it in the database VPC's security group inbound rule (allowing TCP port 1521), only EC2 instances that have the application security group attached will be able to access the databases. This solution is dynamic and does not require updating rules when instances are created or terminated, since security group references automatically include all associated instances. Options A, B, and D rely on IP address ranges, which is problematic because EC2 instances are regularly created and terminated, causing IP addresses to change frequently. Additionally, using IP ranges would allow all instances in that range to access the databases, violating the requirement that only specific instances need access.
Question 47 · No. 71 · Single choice

A security engineer is troubleshooting an AWS Lambda function that is named MyLambdaFunction. The function is encountering an error when the function attempts to read the objects in an Amazon S3 bucket that is named DOC-EXAMPLE-BUCKET. The S3 bucket has the following bucket policy: <img title="image1" src="https://img.examtopics.com/aws-certified-security-specialty-scs-c03/image1.png"> Which change should the security engineer make to the policy to ensure that the Lambda function can read the bucket objects?

Answer: C

Explanation: The correct change is to update the Resource element to 'arn:aws:s3:::DOC-EXAMPLE-BUCKET/*'. The bucket policy needs to grant access not only to the bucket itself but to the objects within the bucket. The /* suffix is required to specify all objects inside the bucket. Without it, the policy only grants access to the bucket metadata, not the actual objects. Option A is incorrect because the Condition element is typically needed for security restrictions and removing it would weaken security unnecessarily. Option B is incorrect because the Action element is likely already correctly set to actions like s3:GetObject. Option D is incorrect because the Resource should refer to the S3 bucket and its objects, not the Lambda function.
Question 48 · No. 72 · Single choice

A company uses AWS Organizations with all features enabled. The company has enabled AWS Security Hub in all member accounts and in all AWS Regions. The company has created a VPC in the eu-central-1 Region in a member AWS account. A security engineer has verified that no security group rules in the VPC allow inbound traffic from all IP addresses on TCP port 22. The security engineer needs an automated system. The system must prevent the creation of security group rules in the VPC that allow traffic from all IP addresses on TCP port 22. Which solution will meet these requirements?

Answer: B

Explanation: Option B is the correct solution because it implements an automated, event-driven remediation system. Security Hub continuously monitors for findings about security group rules allowing 0.0.0.0/0 on port 22. When such a finding is detected, EventBridge triggers a Lambda function that automatically removes the offending rule, effectively preventing it from persisting. Option A is only detective (alerts after creation) and doesn't remove the rule. Option C (SCP) cannot work because SCPs cannot inspect the specific parameters of a security group rule (such as the CIDR block and port number) - they can only deny API calls entirely or based on broad conditions. Option D is for network traffic inspection at the packet level, not for controlling security group rule creation.
Question 49 · No. 73 · Single choice

A company has enabled AWS Config for its organization in AWS Organizations. The company has deployed hundreds of Amazon S3 buckets across the organization.\nA security engineer needs to identify any S3 buckets that are not encrypted with AWS Key Management Service (AWS KMS). The security engineer also must prevent objects that are not encrypted with AWS KMS from being uploaded to the S3 buckets.\nWhich solution will meet these requirements?

Answer: A

Explanation: The correct answer is A because: 1) s3-default-encryption-kms is the correct AWS Config managed rule to identify S3 buckets that are not encrypted with AWS KMS. The s3-bucket-ssl-requests-only rule (options C and D) only checks for SSL requests, not KMS encryption, so it's incorrect. 2) SCPs (Service Control Policies) are the ideal solution for AWS Organizations because they centrally enforce policies across all accounts and hundreds of S3 buckets, rather than requiring individual bucket policies for each bucket (option B), which would be impractical at scale. The SCP can deny the s3:PutObject action when the object is not encrypted with AWS KMS, effectively preventing non-KMS encrypted uploads across the entire organization.
Question 50 · No. 74 · Single choice

A security engineer is designing security controls for a fleet of Amazon EC2 instances that run sensitive workloads in a VPC. The security engineer needs to implement a solution to detect and mitigate software vulnerabilities on the EC2 instances.\nWhich solution will meet this requirement?

Answer: A

Explanation: Amazon Inspector is specifically designed to scan EC2 instances for software vulnerabilities and unintended network exposure. It performs automated security assessments that identify vulnerabilities. AWS Systems Manager Patch Manager is the appropriate service to apply security patches and updates to remediate those vulnerabilities. Together, these services directly meet the requirement to detect and mitigate software vulnerabilities. Option B focuses on firewall/AV protection rather than vulnerability scanning. Option C is for log monitoring and anomaly detection, not vulnerability detection. Option D's GuardDuty Malware Protection focuses on malware threats, not general software vulnerabilities.
Prev 12345