Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

SCS-C02: AWS Certified Security Specialty

Become a specialized security expert to protect enterprise data and workloads on AWS.

4.5★★★★★(293 ratings)
15,755 studentsAdvanced
Master AWS security services and best practices to secure your infrastructure across all layers. This course covers everything from identity management to data encryption and incident response in the cloud. Learn to build secure, compliant applications that protect sensitive customer data and meet regulatory requirements. Secure your organization's future by mastering advanced threat detection and mitigation strategies.

What you'll learn

  • Identity & Access (IAM)
  • Logging & Monitoring
  • Infrastructure Security
  • Data Protection/Encryption
  • Incident Response

SCS-C02

Lectures3
Questions155
Duration30 week
Students15,755

$20.00

Full Free Question Bank (155 Questions)

SCS-C02: AWS Certified Security Specialty (SCS-C02) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1Select 2

A company has an AWS Lambda function that creates image thumbnails from larger images. The Lambda function needs read and write access to an Amazon S3 bucket in the same AWS account. Which solutions will provide the Lambda function this access? (Choose two.)

ACreate an IAM user that has only programmatic access. Create a new access key pair. Add
BGenerate an Amazon EC2 key pair. Store the private key in AWS Secrets Manager. Modify
CCreate an IAM role for the Lambda function. Attach an IAM policy that allows access to the
DCreate an IAM role for the Lambda function. Attach a bucket policy to the S3 bucket to allow
ECreate a security group. Attach the security group to the Lambda function. Attach a bucket
Question #2Part 1

A security engineer is configuring a new website that is named example.com. The security engineer wants to secure communications with the website by requiring users to connect to example.com through HTTPS. Which of the following is a valid option for storing SSL/TLS certificates?

ACustom SSL certificate that is stored in AWS Key Management Service (AWS KMS)
BDefault SSL certificate that is stored in Amazon CloudFront
CCustom SSL certificate that is stored in AWS Certificate Manager (ACM)
DDefault SSL certificate that is stored in Amazon S3
Question #3Part 1Select 3

A security engineer needs to develop a process to investigate and respond to potential security events on a company's Amazon EC2 instances. All the EC2 instances are backed by Amazon Elastic Block Store (Amazon EBS). The company uses AWS Systems Manager to manage all the EC2 instances and has installed Systems Manager Agent (SSM Agent) on all the EC2 instances. The process that the security engineer is developing must comply with AWS security best practices and must meet the following requirements: A compromised EC2 instance's volatile memory and non-volatile memory must be preserved for forensic purposes. A compromised EC2 instance's metadata must be updated with corresponding incident ticket information. A compromised EC2 instance must remain online during the investigation but must be isolated to prevent the spread of malware. Any investigative activity during the collection of volatile data must be captured as part of the process. Which combination of steps should the security engineer take to meet these requirements with the LEAST operational overhead? (Choose three.)

AGather any relevant metadata for the compromised EC2 instance. Enable termination
BGather any relevant metadata for the compromised EC2 instance. Enable termination
CUse Systems Manager Run Command to invoke scripts that collect volatile data.
DEstablish a Linux SSH or Windows Remote Desktop Protocol (RDP) session to the
ECreate a snapshot of the compromised EC2 instance's EBS volume for follow-up
Question #4Part 1

A company has an organization in AWS Organizations. The company wants to use AWS CloudFormation StackSets in the organization to deploy various AWS design patterns into environments. These patterns consist of Amazon EC2 instances, Elastic Load Balancing (ELB) load balancers, Amazon RDS databases, and Amazon Elastic Kubernetes Service (Amazon EKS) clusters or Amazon Elastic Container Service (Amazon ECS) clusters. Currently, the company’s developers can create their own CloudFormation stacks to increase the overall speed of delivery. A centralized CI/CD pipeline in a shared services AWS account deploys each CloudFormation stack. The company's security team has already provided requirements for each service in accordance with internal standards. If there are any resources that do not comply with the internal standards, the security team must receive notification to take appropriate action. The security team must implement a notification solution that gives developers the ability to maintain the same overall delivery speed that they currently have. Which solution will meet these requirements in the MOST operationally efficient way?

ACreate an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the security
BCreate an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the security
CCreate an Amazon Simple Notification Service (Amazon SNS) topic and an Amazon Simple
DCreate a centralized CloudFormation stack set that includes a standard set of resources that
Question #5Part 1Select 2

A company is migrating one of its legacy systems from an on-premises data center to AWS. The application server will run on AWS, but the database must remain in the on-premises data center for compliance reasons. The database is sensitive to network latency. Additionally, the data that travels between the on-premises data center and AWS must have IPsec encryption. Which combination of AWS solutions will meet these requirements? (Choose two.)

AAWS Site-to-Site VPN
BAWS Direct Connect
CAWS VPN CloudHub
DVPC peering
ENAT gateway
Question #6Part 1Select 2

A company has an application that uses dozens of Amazon DynamoDB tables to store data. Auditors find that the tables do not comply with the company's data protection policy. The company's retention policy states that all data must be backed up twice each month: once at midnight on the 15th day of the month and again at midnight on the 25th day of the month. The company must retain the backups for 3 months. Which combination of steps should a security engineer take to meet these requirements? (Choose two.)

AUse the DynamoDB on-demand backup capability to create a backup plan. Configure a
BUse AWS DataSync to create a backup plan. Add a backup rule that includes a retention
CUse AWS Backup to create a backup plan. Add a backup rule that includes a retention period
DSet the backup frequency by using a cron schedule expression. Assign each DynamoDB
ESet the backup frequency by using a rate schedule expression. Assign each DynamoDB
Question #7Part 1

A company needs a security engineer to implement a scalable solution for multi-account authentication and authorization. The solution should not introduce additional user-managed architectural components. Native AWS features should be used as much as possible. The security engineer has set up AWS Organizations with all features activated and AWS IAM Identity Center (AWS Single Sign-On) enabled. Which additional steps should the security engineer take to complete the task?

AUse AD Connector to create users and groups for all employees that require access to AWS
BUse an IAM Identity Center default directory to create users and groups for all employees
CUse an IAM Identity Center default directory to create users and groups for all employees
DUse AWS Directory Service for Microsoft Active Directory to create users and groups for all
Question #8Part 1

A company has deployed Amazon GuardDuty and now wants to implement automation for potential threats. The company has decided to start with RDP brute force attacks that come from Amazon EC2 instances in the company's AWS environment. A security engineer needs to implement a solution that blocks the detected communication from a suspicious instance until investigation and potential remediation can occur. Which solution will meet these requirements?

AConfigure GuardDuty to send the event to an Amazon Kinesis data stream. Process the
BConfigure GuardDuty to send the event to Amazon EventBridge. Deploy an AWS WAF web
CEnable AWS Security Hub to ingest GuardDuty findings and send the event to Amazon
DEnable AWS Security Hub to ingest GuardDuty findings. Configure an Amazon Kinesis data
Question #9Part 1

A company has an AWS account that hosts a production application. The company receives an email notification that Amazon GuardDuty has detected an Impact:IAMUser/AnomalousBehavior finding in the account. A security engineer needs to run the investigation playbook for this security incident and must collect and analyze the information without affecting the application. Which solution will meet these requirements MOST quickly?

ALog in to the AWS account by using read-only credentials. Review the GuardDuty finding for
BLog in to the AWS account by using read-only credentials. Review the GuardDuty finding to
CLog in to the AWS account by using administrator credentials. Review the GuardDuty finding
DLog in to the AWS account by using read-only credentials. Review the GuardDuty finding to
Question #10Part 1

Company A has an AWS account that is named Account

AIn Account B, create a bucket ACL to allow the user from Account A to access the S3 bucket
BIn Account B, create an object ACL to allow the user from Account A to access all the objects
CIn Account B, create a bucket policy to allow the user from Account A to access the S3
DIn Account B, create a user policy to allow the user from Account A to access the S3 bucket
Question #11Part 1

A company wants to receive an email notification about critical findings in AWS Security Hub. The company does not have an existing architecture that supports this functionality. Which solution will meet the requirement?

ACreate an AWS Lambda function to identify critical Security Hub findings. Create an Amazon
BCreate an Amazon Kinesis Data Firehose delivery stream. Integrate the delivery stream with
CCreate an Amazon EventBridge rule to detect critical Security Hub findings. Create an
DCreate an Amazon EventBridge rule to detect critical Security Hub findings. Create an
Question #12Part 1Select 3

An international company has established a new business entity in South Korea. The company also has established a new AWS account to contain the workload for the South Korean region. The company has set up the workload in the new account in the ap-northeast-2 Region. The workload consists of three Auto Scaling groups of Amazon EC2 instances. All workloads that operate in this Region must keep system logs and application logs for 7 years. A security engineer must implement a solution to ensure that no logging data is lost for each instance during scaling activities. The solution also must keep the logs for only the required period of 7 years. Which combination of steps should the security engineer take to meet these requirements? (Choose three.)

AEnsure that the Amazon CloudWatch agent is installed on all the EC2 instances that the Auto
BSet the log retention for desired log groups to 7 years.
CAttach an IAM role to the launch configuration or launch template that the Auto Scaling
DAttach an IAM role to the launch configuration or launch template that the Auto Scaling
EEnsure that a log forwarding application is installed on all the EC2 instances that the Auto
Question #13Part 1Select 2

A security engineer is designing an IAM policy to protect AWS API operations. The policy must enforce multi-factor authentication (MFA) for IAM users to access certain services in the AWS production account. Each session must remain valid for only 2 hours. The current version of the IAM policy is as follows: Which combination of conditions must the security engineer add to the IAM policy to meet these requirements? (Choose two.)

A"Bool": {"aws:MultiFactorAuthPresent": "true"}
B"Bool": {"aws:MultiFactorAuthPresent": "false"}
C"NumericLessThan": {"aws:MultiFactorAuthAge": "7200"}
D"NumericGreaterThan": {"aws:MultiFactorAuthAge": "7200"}
E"NumericLessThan": {"MaxSessionDuration": "7200"}
Question #14Part 1

A company uses AWS Organizations and has production workloads across multiple AWS accounts. A security engineer needs to design a solution that will proactively monitor for suspicious behavior across all the accounts that contain production workloads. The solution must automate remediation of incidents across the production accounts. The solution also must publish a notification to an Amazon Simple Notification Service (Amazon SNS) topic when a critical security finding is detected. In addition, the solution must send all security incident logs to a dedicated account. Which solution will meet these requirements?

AActivate Amazon GuardDuty in each production account. In a dedicated logging account,
BActivate AWS Security Hub in each production account. In a dedicated logging account,
CActivate Amazon GuardDuty in each production account. In a dedicated logging account,
DActivate AWS Security Hub in each production account. In a dedicated logging account,
Question #15Part 1

A company is designing a multi-account structure for its development teams. The company is using AWS Organizations and AWS IAM Identity Center (AWS Single Sign-On). The company must implement a solution so that the development teams can use only specific AWS Regions and so that each AWS account allows access to only specific AWS services. Which solution will meet these requirements with the LEAST operational overhead?

AUse IAM Identity Center to set up service-linked roles with IAM policy statements that include
BDeactivate AWS Security Token Service (AWS STS) in Regions that the developers are not
CCreate SCPs that include the Condition, Resource, and NotAction elements to allow access
DFor each AWS account, create tailored identity-based policies for IAM Identity Center. Use
Question #16Part 1

A company is developing an ecommerce application. The application uses Amazon EC2 instances and an Amazon RDS MySQL database. For compliance reasons, data must be secured in transit and at rest. The company needs a solution that minimizes operational overhead and minimizes cost. Which solution meets these requirements?

AUse TLS certificates from AWS Certificate Manager (ACM) with an Application Load
BUse TLS certificates from a third-party vendor with an Application Load Balancer. Install the
CUse AWS CloudHSM to generate TLS certificates for the EC2 instances. Install the TLS
DUse Amazon CloudFront with AWS WAF. Send HTTP connections to the origin EC2
Question #17Part 1Select 2

A security engineer is working with a company to design an ecommerce application. The application will run on Amazon EC2 instances that run in an Auto Scaling group behind an Application Load Balancer (ALB). The application will use an Amazon RDS DB instance for its database. The only required connectivity from the internet is for HTTP and HTTPS traffic to the application. The application must communicate with an external payment provider that allows traffic only from a preconfigured allow list of IP addresses. The company must ensure that communications with the external payment provider are not interrupted as the environment scales. Which combination of actions should the security engineer recommend to meet these requirements? (Choose three.)

ADeploy a NAT gateway in each private subnet for every Availability Zone that is in use.
BPlace the DB instance in a public subnet.
CPlace the DB instance in a private subnet.
DConfigure the Auto Scaling group to place the EC2 instances in a public subnet.
EConfigure the Auto Scaling group to place the EC2 instances in a private subnet.
Question #18Part 1Select 2

A security engineer is working with a company to design an ecommerce application. The application will run on Amazon EC2 instances that run in an Auto Scaling group behind an Application Load Balancer (ALB). The application will use an Amazon RDS DB instance for its database. The only required connectivity from the internet is for HTTP and HTTPS traffic to the application. The application must communicate with an external payment provider that allows traffic only from a preconfigured allow list of IP addresses. The company must ensure that communications with the external payment provider are not interrupted as the environment scales. Which combination of actions should the security engineer recommend to meet these requirements? (Choose three.)

ADeploy a NAT gateway in each private subnet for every Availability Zone that is in use.
BPlace the DB instance in a public subnet.
CPlace the DB instance in a private subnet.
DConfigure the Auto Scaling group to place the EC2 instances in a public subnet.
EConfigure the Auto Scaling group to place the EC2 instances in a private subnet.
Question #19Part 1

A company uses several AWS CloudFormation stacks to handle the deployment of a suite of applications. The leader of the company's application development team notices that the stack deployments fail with permission errors when some team members try to deploy the stacks. However, other team members can deploy the stacks successfully. The team members access the account by assuming a role that has a specific set of permissions that are necessary for the job responsibilities of the team members. All team members have permissions to perform operations on the stacks. Which combination of steps will ensure consistent deployment of the stacks MOST securely? (Choose three.)

ACreate a service role that has a composite principal that contains each service that needs the
BCreate a service role that has cloudformation.amazonaws.com as the service principal.
CFor each required set of permissions, add a separate policy to the role to allow those
DFor each required set of permissions, add a separate policy to the role to allow those
EUpdate each stack to use the service role.
Question #20Part 1

A company used a lift-and-shift approach to migrate from its on-premises data centers to the AWS Cloud. The company migrated on-premises VMs to Amazon EC2 instances. Now the company wants to replace some of components that are running on the EC2 instances with managed AWS services that provide similar functionality. Initially, the company will transition from load balancer software that runs on EC2 instances to AWS Elastic Load Balancers. A security engineer must ensure that after this transition, all the load balancer logs are centralized and searchable for auditing. The security engineer must also ensure that metrics are generated to show which ciphers are in use. Which solution will meet these requirements?

ACreate an Amazon CloudWatch Logs log group. Configure the load balancers to send logs to
BCreate an Amazon S3 bucket. Configure the load balancers to send logs to the S3 bucket.
CCreate an Amazon S3 bucket. Configure the load balancers to send logs to the S3 bucket.
DCreate an Amazon CloudWatch Logs log group. Configure the load balancers to send logs to
Question #21Part 1

A company used a lift-and-shift approach to migrate from its on-premises data centers to the AWS Cloud. The company migrated on-premises VMs to Amazon EC2 instances. Now the company wants to replace some of the components that are running on the EC2 instances with managed AWS services that provide similar functionality. Initially, the company will transition from load balancer software that runs on EC2 instances to AWS Elastic Load Balancers. A security engineer must ensure that after this transition, all the load balancer logs are centralized and searchable for auditing. The security engineer must also ensure that metrics are generated to show which ciphers are in use. Which solution will meet these requirements?

ACreate an Amazon CloudWatch Logs log group. Configure the load balancers to send logs to
BCreate an Amazon S3 bucket. Configure the load balancers to send logs to the S3 bucket.
CCreate an Amazon S3 bucket. Configure the load balancers to send logs to the S3 bucket.
DCreate an Amazon CloudWatch Logs log group. Configure the load balancers to send logs to
Question #22Part 1Select 2

A company uses AWS Organizations to manage a multi-account AWS environment in a single AWS Region. The organization's management account is named management-01. The company has turned on AWS Config in all accounts in the organization. The company has designated an account named security-01 as the delegated administrator for AWS Config. All accounts report the compliance status of each account's rules to the AWS Config delegated administrator account by using an AWS Config aggregator. Each account administrator can configure and manage the account's own AWS Config rules to handle each account's unique compliance requirements. A security engineer needs to implement a solution to automatically deploy a set of 10 AWS Config rules to all existing and future AWS accounts in the organization. The solution must turn on AWS Config automatically during account creation. Which combination of steps will meet these requirements? (Choose two.)

ACreate an AWS CloudFormation template that contains the 10 required AWS Config rules.
BCreate a conformance pack that contains the 10 required AWS Config rules. Deploy the
CCreate a conformance pack that contains the 10 required AWS Config rules. Deploy the
DCreate an AWS CloudFormation template that will activate AWS Config. Deploy the template
ECreate an AWS CloudFormation template that will activate AWS Config. Deploy the template
Question #23Part 1Select 2

A company has a legacy application that runs on a single Amazon EC2 instance. A security audit shows that the application has been using an IAM access key within its code to access an Amazon S3 bucket that is named DOC-EXAMPLE-BUCKET1 in the same AWS account. This access key pair has the s3:GetObject permission to all objects in only this S3 bucket. The company takes the application offline because the application is not compliant with the company’s security policies for accessing other AWS resources from Amazon EC2. A security engineer validates that AWS CloudTrail is turned on in all AWS Regions. CloudTrail is sending logs to an S3 bucket that is named DOC-EXAMPLE-BUCKET2. This S3 bucket is in the same AWS account as DOC-EXAMPLE-BUCKET1. However, CloudTrail has not been configured to send logs to Amazon CloudWatch Logs. The company wants to know if any objects in DOC-EXAMPLE-BUCKET1 were accessed with the IAM access key in the past 60 days. If any objects were accessed, the company wants to know if any of the objects that are text files (.txt extension) contained personally identifiable information (PII). Which combination of steps should the security engineer take to gather this information? (Choose two.)

AUse Amazon CloudWatch Logs Insights to identify any objects in DOC-EXAMPLE-BUCKET1
BUse Amazon OpenSearch Service to query the CloudTrail logs in DOC-EXAMPLE-BUCKET2
CUse Amazon Athena to query the CloudTrail logs in DOC-EXAMPLE-BUCKET2 for any API
DUse AWS Identity and Access Management Access Analyzer to identify any API calls that
EConfigure Amazon Macie to identify any objects in DOC-EXAMPLE-BUCKET1 that contain
Question #24Part 1

A security engineer creates an Amazon S3 bucket policy that denies access to all users. A few days later, the security engineer adds an additional statement to the bucket policy to allow read-only access to one other employee. Even after updating the policy, the employee sill receives an access denied message. What is the likely cause of this access denial?

AThe ACL in the bucket needs to be updated.
BThe IAM policy does not allow the user to access the bucket.
CIt takes a few minutes for a bucket policy to take effect.
DThe allow permission is being overridden by the deny.
Question #25Part 1

A company is using Amazon Macie, AWS Firewall Manager, Amazon Inspector, and AWS Shield Advanced in its AWS account. The company wants to receive alerts if a DDoS attack occurs against the account. Which solution will meet this requirement?

AUse Macie to detect an active DDoS event. Create Amazon CloudWatch alarms that respond
BUse Amazon inspector to review resources and to invoke Amazon CloudWatch alarms for
CCreate an Amazon CloudWatch alarm that monitors Firewall Manager metrics for an active
DCreate an Amazon CloudWatch alarm that monitors Shield Advanced metrics for an active
Question #26Part 1

A company hosts a web application on an Apache web server. The application runs on Amazon EC2 instances that are in an Auto Scaling group. The company configured the EC2 instances to send the Apache web server logs to an Amazon CloudWatch Logs group that the company has configured to expire after 1 year. Recently, the company discovered in the Apache web server logs that a specific IP address is sending suspicious requests to the web application. A security engineer wants to analyze the past week of Apache web server logs to determine how many requests that the IP address sent and the corresponding URLs that the IP address requested. What should the security engineer do to meet these requirements with the LEAST effort?

AExport the CloudWatch Logs group data to Amazon S3. Use Amazon Macie to query the logs
BConfigure a CloudWatch Logs subscription to stream the log group to an Amazon
CUse CloudWatch Logs Insights and a custom query syntax to analyze the CloudWatch logs
DExport the CloudWatch Logs group data to Amazon S3. Use AWS Glue to crawl the S3
Question #27Part 1

While securing the connection between a company’s VPC and its on-premises data center, a security engineer sent a ping command from an on-premises host (IP address 203.0.113.12) to an Amazon EC2 instance (IP address 172.31.16.139). The ping command did not return a response. The flow log in the VPC showed the following: What action should be performed to allow the ping to work?

AIn the security group of the EC2 instance, allow inbound ICMP traffic.
BIn the security group of the EC2 instance, allow outbound ICMP traffic.
CIn the VPC’s NACL, allow inbound ICMP traffic.
DIn the VPC’s NACL, allow outbound ICMP traffic.
Question #28Part 1

A company developed an application by using AWS Lambda, Amazon S3, Amazon Simple Notification Service (Amazon SNS), and Amazon DynamoDB. An external application puts objects into the company's S3 bucket and tags the objects with date and time. A Lambda function periodically pulls data from the company's S3 bucket based on date and time tags and inserts specific values into a DynamoDB table for further processing. The data includes personally identifiable information (PII). The company must remove data that is older than 30 days from the S3 bucket and the DynamoDB table. Which solution will meet this requirement with the MOST operational efficiency?

AUpdate the Lambda function to add a TTL S3 flag to S3 objects. Create an S3 Lifecycle
BCreate an S3 Lifecycle policy to expire objects that are older than 30 days. Update the
CCreate an S3 Lifecycle policy to expire objects that are older than 30 days and to add all
DCreate an S3 Lifecycle policy to expire objects that are older than 30 days by using object
Question #29Part 1Select 2

What are the MOST secure ways to protect the AWS account root user of a recently opened AWS account? (Choose two.)

AUse the AWS account root user access keys instead of the AWS Management Console.
BEnable multi-factor authentication for the AWS IAM users with the AdministratorAccess
CUse AWS KMS to encrypt all AWS account root user and AWS IAM access keys and set
DDo not create access keys for the AWS account root user; instead, create AWS IAM users.
EEnable multi-factor authentication for the AWS account root user.
Question #30Part 1

A company is expanding its group of stores. On the day that each new store opens, the company wants to launch a customized web application for that store. Each store's application will have a non-production environment and a production environment. Each environment will be deployed in a separate AWS account. The company uses AWS Organizations and has an OU that is used only for these accounts. The company distributes most of the development work to third-party development teams. A security engineer needs to ensure that each team follows the company's deployment plan for AWS resources. The security engineer also must limit access to the deployment plan to only the developers who need access. The security engineer already has created an AWS CloudFormation template that implements the deployment plan. What should the security engineer do next to meet the requirements in the MOST secure way?

ACreate an AWS Service Catalog portfolio in the organization's management account. Upload
BUse the CloudFormation CLI to create a module from the CloudFormation template. Register
CCreate an AWS Service Catalog portfolio in the organization's management account. Upload
DUse the CloudFormation CLI to create a module from the CloudFormation template. Register
Question #31Part 1

A team is using AWS Secrets Manager to store an application database password. Only a limited number of IAM principals within the account can have access to the secret. The principals who require access to the secret change frequently. A security engineer must create a solution that maximizes flexibility and scalability. Which solution will meet these requirements?

AUse a role-based approach by creating an IAM role with an inline permissions policy that
BDeploy a VPC endpoint for Secrets Manager. Create and attach an endpoint policy that
CUse a tag-based approach by attaching a resource policy to the secret. Apply tags to the
DUse a deny-by-default approach by using IAM policies to deny access to the secret explicitly.
Question #32Part 1

A company is hosting a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The application has become the target of a DoS attack. Application logging shows that requests are coming from a small number of client IP addresses, but the addresses change regularly. The company needs to block the malicious traffic with a solution that requires the least amount of ongoing effort. Which solution meets these requirements?

ACreate an AWS WAF rate-based rule, and attach it to the ALB.
BUpdate the security group that is attached to the ALB to block the attacking IP addresses.
CUpdate the ALB subnet's network ACL to block the attacking client IP addresses.
DCreate an AWS WAF rate-based rule, and attach it to the security group of the EC2
Question #33Part 1

A company has hundreds of AWS accounts in an organization in AWS Organizations. The company operates out of a single AWS Region. The company has a dedicated security tooling AWS account in the organization. The security tooling account is configured as the organization's delegated administrator for Amazon GuardDuty and AWS Security Hub. The company has configured the environment to automatically enable GuardDuty and Security Hub for existing AWS accounts and new AWS accounts. The company is performing control tests on specific GuardDuty findings to make sure that the company's security team can detect and respond to security events. The security team launched an Amazon EC2 instance and attempted to run DNS requests against a test domain, example.com, to generate a DNS finding. However, the GuardDuty finding was never created in the Security Hub delegated administrator account. Why was the finding was not created in the Security Hub delegated administrator account?

AVPC flow logs were not turned on for the VPC where the EC2 instance was launched.
BThe VPC where the EC2 instance was launched had the DHCP option configured for a
CThe GuardDuty integration with Security Hub was never activated in the AWS account where
DCross-Region aggregation in Security Hub was not configured.
Question #34Part 1

An ecommerce company has a web application architecture that runs primarily on containers. The application containers are deployed on Amazon Elastic Container Service (Amazon ECS). The container images for the application are stored in Amazon Elastic Container Registry (Amazon ECR). The company's security team is performing an audit of components of the application architecture. The security team identifies issues with some container images that are stored in the container repositories. The security team wants to address these issues by implementing continual scanning and on-push scanning of the container images. The security team needs to implement a solution that makes any findings from these scans visible in a centralized dashboard. The security team plans to use the dashboard to view these findings along with other security-related findings that they intend to generate in the future. There are specific repositories that the security team needs to exclude from the scanning process. Which solution will meet these requirements?

AUse Amazon Inspector. Create inclusion rules in Amazon ECR to match repositories that
BUse ECR basic scanning of container images. Create inclusion rules in Amazon ECR to
CUse ECR basic scanning of container images. Create inclusion rules in Amazon ECR to
DUse Amazon Inspector. Create inclusion rules in Amazon Inspector to match repositories that
Question #35Part 1Select 3

A company has a single AWS account and uses an Amazon EC2 instance to test application code. The company recently discovered that the instance was compromised. The instance was serving up malware. The analysis of the instance showed that the instance was compromised 35 days ago. A security engineer must implement a continuous monitoring solution that automatically notifies the company's security team about compromised instances through an email distribution list for high severity findings. The security engineer must implement the solution as soon as possible. Which combination of steps should the security engineer take to meet these requirements? (Choose three.)

AEnable AWS Security Hub in the AWS account.
BEnable Amazon GuardDuty in the AWS account.
CCreate an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the security
DCreate an Amazon Simple Queue Service (Amazon SQS) queue. Subscribe the security
ECreate an Amazon EventBridge rule for GuardDuty findings of high severity. Configure the
Question #36Part 1

A company uses identity federation to authenticate users into an identity account (987654321987) where the users assume an IAM role named IdentityRole. The users then assume an IAM role named JobFunctionRole in the target AWS account (123456789123) to perform their job functions. A user is unable to assume the IAM role in the target account. The policy attached to the role in the identity account is: What should be done to enable the user to assume the appropriate role in the target account?

AUpdate the IAM policy attached to the role in the identity account to be:
BUpdate the trust policy on the role in the target account to be:
CUpdate the trust policy on the role in the identity account to be:
DUpdate the IAM policy attached to the role in the target account to be:
Question #37Part 1

A company is using AWS Organizations to manage multiple AWS accounts for its human resources, finance, software development, and production departments. All the company's developers are part of the software development AWS account. The company discovers that developers have launched Amazon EC2 instances that were preconfigured with software that the company has not approved for use. The company wants to implement a solution to ensure that developers can launch EC2 instances with only approved software applications and only in the software development AWS account. Which solution will meet these requirements?

AIn the software development account, create AMIs of preconfigured instances that include
BCreate an Amazon EventBridge rule that runs when any EC2 RunInstances API event occurs
CUse an AWS Service Catalog portfolio that contains EC2 products with appropriate AMIs that
DIn the management account, create AMIs of preconfigured instances that include only
Question #38Part 1

A company has enabled Amazon GuardDuty in all AWS Regions as part of its security monitoring strategy. In one of its VPCs, the company hosts an Amazon EC2 instance that works as an FTP server. A high number of clients from multiple locations contact the FTP server. GuardDuty identifies this activity as a brute force attack because of the high number of connections that happen every hour. The company has flagged the finding as a false positive, but GuardDuty continues to raise the issue. A security engineer must improve the signal-to-noise ratio without compromising the company's visibility of potential anomalous behavior. Which solution will meet these requirements?

ADisable the FTP rule in GuardDuty in the Region where the FTP server is deployed.
BAdd the FTP server to a trusted IP list. Deploy the list to GuardDuty to stop receiving the
CCreate a suppression rule in GuardDuty to filter findings by automatically archiving new
DCreate an AWS Lambda function that has the appropriate permissions to delete the finding
Question #39Part 1

A company is running internal microservices on Amazon Elastic Container Service (Amazon ECS) with the Amazon EC2 launch type. The company is using Amazon Elastic Container Registry (Amazon ECR) private repositories. A security engineer needs to encrypt the private repositories by using AWS Key Management Service (AWS KMS). The security engineer also needs to analyze the container images for any common vulnerabilities and exposures (CVEs). Which solution will meet these requirements?

AEnable KMS encryption on the existing ECR repositories. Install Amazon Inspector Agent
BRecreate the ECR repositories with KMS encryption and ECR scanning enabled. Analyze the
CRecreate the ECR repositories with KMS encryption and ECR scanning enabled. Install AWS
DEnable KMS encryption on the existing ECR repositories. Use AWS Trusted Advisor to check
Question #40Part 1

A company's security engineer has been tasked with restricting a contractor's IAM account access to the company’s Amazon EC2 console without providing access to any other AWS services. The contractor's IAM account must not be able to gain access to any other AWS service, even if the IAM account is assigned additional permissions based on IAM group membership. What should the security engineer do to meet these requirements?

ACreate an inline IAM user policy that allows for Amazon EC2 access for the contractor's IAM
BCreate an IAM permissions boundary policy that allows Amazon EC2 access. Associate the
CCreate an IAM group with an attached policy that allows for Amazon EC2 access. Associate
DCreate a IAM role that allows for EC2 and explicitly denies all other services. Instruct the
Question #41Part 1

A company manages multiple AWS accounts using AWS Organizations. The company’s security team notices that some member accounts are not sending AWS CloudTrail logs to a centralized Amazon S3 logging bucket. The security team wants to ensure there is at least one trail configured for all existing accounts and for any account that is created in the future. Which set of actions should the security team implement to accomplish this?

ACreate a new trail and configure it to send CloudTrail logs to Amazon S3. Use Amazon
BDeploy an AWS Lambda function in every account to check if there is an existing trail and
CEdit the existing trail in the Organizations management account and apply it to the
DCreate an SCP to deny the cloudtrail:Delete* and cloudtrail:Stop* actions. Apply the SCP to
Question #42Part 1

A company recently had a security audit in which the auditors identified multiple potential threats. These potential threats can cause usage pattern changes such as DNS access peak, abnormal instance traffic, abnormal network interface traffic, and unusual Amazon S3 API calls. The threats can come from different sources and can occur at any time. The company needs to implement a solution to continuously monitor its system and identify all these incoming threats in near-real time. Which solution will meet these requirements?

AEnable AWS CloudTrail logs, VPC flow logs, and DNS logs. Use Amazon CloudWatch Logs
BEnable AWS CloudTrail logs, VPC flow logs, and DNS logs. Use Amazon Macie to monitor
CEnable Amazon GuardDuty from a centralized account. Use GuardDuty to manage AWS
DEnable Amazon Inspector from a centralized account. Use Amazon Inspector to manage
Question #43Part 1

A company that uses AWS Organizations is using AWS IAM Identity Center (AWS Single Sign-On) to administer access to AWS accounts. A security engineer is creating a custom permission set in IAM Identity Center. The company will use the permission set across multiple accounts. An AWS managed policy and a customer managed policy are attached to the permission set. The security engineer has full administrative permissions and is operating in the management account. When the security engineer attempts to assign the permission set to an IAM Identity Center user who has access to multiple accounts, the assignment fails. What should the security engineer do to resolve this failure?

ACreate the customer managed policy in every account where the permission set is assigned.
BRemove either the AWS managed policy or the customer managed policy from the
CEvaluate the logic of the AWS managed policy and the customer managed policy. Resolve
DDo not add the new permission set to the user. Instead, edit the user's existing permission
Question #44Part 1

A company has thousands of AWS Lambda functions. While reviewing the Lambda functions, a security engineer discovers that sensitive information is being stored in environment variables and is viewable as plaintext in the Lambda console. The values of the sensitive information are only a few characters long. What is the MOST cost-effective way to address this security issue?

ASet up IAM policies from the Lambda console to hide access to the environment variables.
BUse AWS Step Functions to store the environment variables. Access the environment
CStore the environment variables in AWS Secrets Manager, and access them at runtime. Use
DStore the environment variables in AWS Systems Manager Parameter Store as secure string
Question #45Part 1

A security engineer is using AWS Organizations and wants to optimize SCPs. The security engineer needs to ensure that the SCPs conform to best practices. Which approach should the security engineer take to meet this requirement?

AUse AWS IAM Access Analyzer to analyze the policies. View the findings from policy
BReview AWS Trusted Advisor checks for all accounts in the organization.
CSet up AWS Audit Manager. Run an assessment for all AWS Regions for all accounts.
DEnsure that Amazon Inspector agents are installed on all Amazon EC2 instances in all
Question #46Part 1Select 2

A company uses Amazon RDS for MySQL as a database engine for its applications. A recent security audit revealed an RDS instance that is not compliant with company policy for encrypting data at rest. A security engineer at the company needs to ensure that all existing RDS databases are encrypted using server-side encryption and that any future deviations from the policy are detected. Which combination of steps should the security engineer take to accomplish this? (Choose two.)

ACreate an AWS Config rule to detect the creation of unencrypted RDS databases. Create an
BUse AWS System Manager State Manager to detect RDS database encryption configuration
CCreate a read replica for the existing unencrypted RDS database and enable replica
DTake a snapshot of the unencrypted RDS database. Copy the snapshot and enable snapshot
EEnable encryption for the identified unencrypted RDS instance by changing the
Question #47Part 1

A company has recently recovered from a security incident that required the restoration of Amazon EC2 instances from snapshots. The company uses an AWS Key Management Service (AWS KMS) customer managed key to encrypt all Amazon Elastic Block Store (Amazon EBS) snapshots. The company performs a gap analysis of its disaster recovery procedures and backup strategies. A security engineer needs to implement a solution so that the company can recover the EC2 instances if the AWS account is compromised and the EBS snapshots are deleted. Which solution will meet this requirement?

ACreate a new Amazon S3 bucket. Use EBS lifecycle policies to move EBS snapshots to the
BUse AWS Systems Manager to distribute a configuration that backs up all attached disks to
CCreate a new AWS account that has limited privileges. Allow the new account to access the
DUse AWS Backup to copy EBS snapshots to Amazon S3. Use S3 Object Lock to prevent
Question #48Part 1

A company's security engineer is designing an isolation procedure for Amazon EC2 instances as part of an incident response plan. The security engineer needs to isolate a target instance to block any traffic to and from the target instance, except for traffic from the company's forensics team. Each of the company's EC2 instances has its own dedicated security group. The EC2 instances are deployed in subnets of a VPC. A subnet can contain multiple instances. The security engineer is testing the procedure for EC2 isolation and opens an SSH session to the target instance. The procedure starts to simulate access to the target instance by an attacker. The security engineer removes the existing security group rules and adds security group rules to give the forensics team access to the target instance on port 22. After these changes, the security engineer notices that the SSH connection is still active and usable. When the security engineer runs a ping command to the public IP address of the target instance, the ping command is blocked. What should the security engineer do to isolate the target instance?

AAdd an inbound rule to the security group to allow traffic from 0.0.0.0/0 for all ports. Add an
BRemove the port 22 security group rule. Attach an instance role policy that allows AWS
CCreate a network ACL that is associated with the target instance's subnet. Add a rule at the
DCreate an AWS Systems Manager document that adds a host-level firewall rule to block all
Question #49Part 1

A startup company is using a single AWS account that has resources in a single AWS Region. A security engineer configures an AWS CloudTrail trail in the same Region to deliver log files to an Amazon S3 bucket by using the AWS CLI. Because of expansion, the company adds resources in multiple Regions. The security engineer notices that the logs from the new Regions are not reaching the S3 bucket. What should the security engineer do to fix this issue with the LEAST amount of operational overhead?

ACreate a new CloudTrail trail. Select the new Regions where the company added resources.
BChange the S3 bucket to receive notifications to track all actions from all Regions.
CCreate a new CloudTrail trail that applies to all Regions.
DChange the existing CloudTrail trail so that it applies to all Regions.
Question #50Part 1Select 2

A company's public Application Load Balancer (ALB) recently experienced a DDoS attack. To mitigate this issue, the company deployed Amazon CloudFront in front of the ALB so that users would not directly access the Amazon EC2 instances behind the ALB. The company discovers that some traffic is still coming directly into the ALB and is still being handled by the EC2 instances. Which combination of steps should the company take to ensure that the EC2 instances will receive traffic only from CloudFront? (Choose two.)

AConfigure CloudFront to add a cache key policy to allow a custom HTTP header that
BConfigure CloudFront to add a custom HTTP header to requests that CloudFront sends to
CConfigure the ALB to forward only requests that contain the custom HTTP header.
DConfigure the ALB and CloudFront to use the X-Forwarded-For header to check client IP
EConfigure the ALB and CloudFront to use the same X.509 certificate that is generated by
Question #51Part 1

A company discovers a billing anomaly in its AWS account. A security consultant investigates the anomaly and discovers that an employee who left the company 30 days ago still has access to the account. The company has not monitored account activity in the past. The security consultant needs to determine which resources have been deployed or reconfigured by the employee as quickly as possible. Which solution will meet these requirements?

AIn AWS Cost Explorer, filter chart data to display results from the past 30 days. Export the
BUse AWS Cost Anomaly Detection to create a cost monitor. Access the detection history. Set
CIn AWS CloudTrail, filter the event history to display results from the past 30 days. Create an
DUse AWS Audit Manager to create an assessment for the past 30 days. Apply a usage-based
Question #52Part 1

A security engineer is checking an AWS CloudFormation template for vulnerabilities. The security engineer finds a parameter that has a default value that exposes an application's API key in plaintext. The parameter is referenced several times throughout the template. The security engineer must replace the parameter while maintaining the ability to reference the value in the template. Which solution will meet these requirements in the MOST secure way?

AStore the API key value as a SecureString parameter in AWS Systems Manager Parameter
BStore the API key value in AWS Secrets Manager. In the template, replace all references to
CStore the API key value in Amazon DynamoDB. In the template, replace all references to the
DStore the API key value in a new Amazon S3 bucket. In the template, replace all references
Question #53Part 1Select 3

A company's AWS CloudTrail logs are all centrally stored in an Amazon S3 bucket. The security team controls the company's AWS account. The security team must prevent unauthorized access and tampering of the CloudTrail logs. Which combination of steps should the security team take? (Choose three.)

AConfigure server-side encryption with AWS KMS managed encryption keys (SSE-KMS).
BCompress log files with secure gzip.
CCreate an Amazon EventBridge rule to notify the security team of any modifications on
DImplement least privilege access to the S3 bucket by configuring a bucket policy.
EConfigure CloudTrail log file integrity validation.
Question #54Part 1

A company has several petabytes of data. The company must preserve this data for 7 years to comply with regulatory requirements. The company's compliance team asks a security officer to develop a strategy that will prevent anyone from changing or deleting the data. Which solution will meet this requirement MOST cost-effectively?

ACreate an Amazon S3 bucket. Configure the bucket to use S3 Object Lock in compliance
BCreate an Amazon S3 bucket. Configure the bucket to use S3 Object Lock in governance
CCreate a vault in Amazon S3 Glacier. Create a Vault Lock policy in S3 Glacier that meets all
DCreate an Amazon S3 bucket. Upload the data to the bucket. Use a lifecycle rule to transition
Question #55Part 1

A-company uses a third-party identity provider and SAML-based SSO for its AWS accounts. After the third-party identity provider renewed an expired signing certificate, users saw the following message when trying to log in: Error: Response Signature Invalid (Service: AWSSecurityTokenService; Status Code: 400; Error Code: InvalidIdentityToken) A security engineer needs to provide a solution that corrects the error and minimizes operational overhead. Which solution meets these requirements?

AUpload the third-party signing certificate’s new private key to the AWS identity provider entity
BSign the identity provider's metadata file with the new public key. Upload the signature to the
CDownload the updated SAML metadata file from the identity service provider. Update the file
DConfigure the AWS identity provider entity defined in AWS Identity and Access Management
Question #56Part 1

A company has several workloads running on AWS. Employees are required to authenticate using on-premises ADFS and SSO to access the AWS Management Console. Developers migrated an existing legacy web application to an Amazon EC2 instance. Employees need to access this application from anywhere on the internet, but currently, there is no authentication system built into the application. How should the security engineer implement employee-only access to this system without changing the application?

APlace the application behind an Application Load Balancer (ALB). Use Amazon Cognito as
BImplement AWS IAM Identity Center (AWS Single Sign-On) in the management account and
CDefine an Amazon Cognito identity pool, then install the connector on the Active Directory
DCreate an AWS Lambda custom authorizer as the authenticator for a reverse proxy on
Question #57Part 1

A company is using AWS to run a long-running analysis process on data that is stored in Amazon S3 buckets. The process runs on a fleet of Amazon EC2 instances that are in an Auto Scaling group. The EC2 instances are deployed in a private subnet of a VPC that does not have internet access. The EC2 instances and the S3 buckets are in the same AWS account. The EC2 instances access the S3 buckets through an S3 gateway endpoint that has the default access policy. Each EC2 instance is associated with an instance profile role that has a policy that explicitly allows the s3:GetObject action and the s3:PutObject action for only the required S3 buckets. The company learns that one or more of the EC2 instances are compromised and are exfiltrating data to an S3 bucket that is outside the company's organization in AWS Organizations. A security engineer must implement a solution to stop this exfiltration of data and to keep the EC2 processing job functional. Which solution will meet these requirements?

AUpdate the policy on the S3 gateway endpoint to allow the S3 actions only if the values of the
BUpdate the policy on the instance profile role to allow the S3 actions only if the value of the
CAdd a network ACL rule to the subnet of the EC2 instances to block outgoing connections on
DApply an SCP on the AWS account to allow the S3 actions only if the values of the
Question #58Part 1

A company that operates in a hybrid cloud environment must meet strict compliance requirements. The company wants to create a report that includes evidence from on-premises workloads alongside evidence from AWS resources. A security engineer must implement a solution to collect, review, and manage the evidence to demonstrate compliance with company policy. Which solution will meet these requirements?

ACreate an assessment in AWS Audit Manager from a prebuilt framework or a custom
BInstall the Amazon CloudWatch agent on the on-premises workloads. Use AWS Config to
CSet up the appropriate security standard in AWS Security Hub. Upload manual evidence from
DInstall the Amazon CloudWatch agent on the on-premises workloads. Create a CloudWatch
Question #59Part 1

To meet regulatory requirements, a security engineer needs to implement an IAM policy that restricts the use of AWS services to the us-east-1 Region. What policy should the engineer implement?

AB.
CD.
Question #60Part 1

A company has a web server in the AWS Cloud. The company will store the content for the web server in an Amazon S3 bucket. A security engineer must use an Amazon CloudFront distribution to speed up delivery of the content. None of the files can be publicly accessible from the S3 bucket directly. Which solution will meet these requirements?

AConfigure the permissions on the individual files in the S3 bucket so that only the CloudFront
BCreate an origin access control (OAC). Associate the OAC with the CloudFront distribution.
CCreate an S3 role in AWS Identity and Access Management (IAM). Allow only the CloudFront
DCreate an S3 bucket policy that uses only the CloudFront distribution ID as the principal and
Question #61Part 2

A security engineer logs in to the AWS Lambda console with administrator permissions. The security engineer is trying to view logs in Amazon CloudWatch for a Lambda function that is named myFunction. When the security engineer chooses the option in the Lambda console to view logs in CloudWatch, an "error loading Log Streams" message appears. The IAM policy for the Lambda function's execution role contains the following: How should the security engineer correct the error?

AMove the logs:CreateLogGroup action to the second Allow statement.
BAdd the logs:PutDestination action to the second Allow statement.
CAdd the logs:GetLogEvents action to the second Allow statement.
DAdd the logs:CreateLogStream action to the second Allow statement.
Question #62Part 2

A company has a new partnership with a vendor. The vendor will process data from the company's customers. The company will upload data files as objects into an Amazon S3 bucket. The vendor will download the objects to perform data processing. The objects will contain sensitive data. A security engineer must implement a solution that prevents objects from residing in the S3 bucket for longer than 72 hours. Which solution will meet these requirements?

AUse Amazon Macie to scan the S3 bucket for sensitive data every 72 hours. Configure Macie
BConfigure an S3 Lifecycle rule on the S3 bucket to expire objects that have been in the S3
CCreate an Amazon EventBridge scheduled rule that invokes an AWS Lambda function every
DUse the S3 Intelligent-Tiering storage class for all objects that are uploaded to the S3 bucket.
Question #63Part 2Select 2

A company accidentally deleted the private key for an Amazon Elastic Block Store (Amazon EBS)-backed Amazon EC2 instance. A security engineer needs to regain access to the instance. Which combination of steps will meet this requirement? (Choose two.)

AStop the instance. Detach the root volume. Generate a new key pair.
BKeep the instance running. Detach the root volume. Generate a new key pair.
CWhen the volume is detached from the original instance, attach the volume to another
DWhen the volume is detached from the original instance, attach the volume to another
EWhen the volume is detached from the original instance, attach the volume to another
Question #64Part 2

A company purchased a subscription to a third-party cloud security scanning solution that integrates with AWS Security Hub. A security engineer needs to implement a solution that will remediate the findings from the third-party scanning solution automatically. Which solution will meet this requirement?

ASet up an Amazon EventBridge rule that reacts to new Security Hub findings. Configure an
BSet up a custom action in Security Hub. Configure the custom action to call AWS Systems
CSet up a custom action in Security Hub. Configure an AWS Lambda function as the target for
DSet up AWS Config rules to use AWS Systems Manager Automation runbooks to remediate
Question #65Part 2

An application is running on an Amazon EC2 instance that has an IAM role attached. The IAM role provides access to an AWS Key Management Service (AWS KMS) customer managed key and an Amazon S3 bucket. The key is used to access 2 TB of sensitive data that is stored in the S3 bucket. A security engineer discovers a potential vulnerability on the EC2 instance that could result in the compromise of the sensitive data. Due to other critical operations, the security engineer cannot immediately shut down the EC2 instance for vulnerability patching. What is the FASTEST way to prevent the sensitive data from being exposed?

ADownload the data from the existing S3 bucket to a new EC2 instance. Then delete the data
BBlock access to the public range of S3 endpoint IP addresses by using a host-based firewall.
CRevoke the IAM role's active session permissions. Update the S3 bucket policy to deny
DDisable the current key. Create a new KMS key that the IAM role does not have access to,
Question #66Part 2

A company is building an application on AWS that will store sensitive information. The company has a support team with access to the IT infrastructure, including databases. The company’s security engineer must introduce measures to protect the sensitive data against any data breach while minimizing management overhead. The credentials must be regularly rotated. What should the security engineer recommend?

AEnable Amazon RDS encryption to encrypt the database and snapshots. Enable Amazon
BInstall a database on an Amazon EC2 instance. Enable third-party disk encryption to encrypt
CEnable Amazon RDS encryption to encrypt the database and snapshots. Enable Amazon
DSet up an AWS CloudHSM cluster with AWS Key Management Service (AWS KMS) to store
Question #67Part 2

A company is using Amazon Route 53 Resolver for its hybrid DNS infrastructure. The company has set up Route 53 Resolver forwarding rules for authoritative domains that are hosted on on-premises DNS servers. A new security mandate requires the company to implement a solution to log and query DNS traffic that goes to the on-premises DNS servers. The logs must show details of the source IP address of the instance from which the query originated. The logs also must show the DNS name that was requested in Route 53 Resolver. Which solution will meet these requirements?

AUse VPC Traffic Mirroring. Configure all relevant elastic network interfaces as the traffic
BConfigure VPC flow logs on all relevant VPCs. Send the logs to an Amazon S3 bucket. Use
CConfigure Route 53 Resolver query logging on all relevant VPCs. Send the logs to Amazon
DModify the Route 53 Resolver rules on the authoritative domains that forward to the
Question #68Part 2Select 2

A security engineer is configuring account-based access control (ABAC) to allow only specific principals to put objects into an Amazon S3 bucket. The principals already have access to Amazon S3. The security engineer needs to configure a bucket policy that allows principals to put objects into the S3 bucket only if the value of the Team tag on the object matches the value of the Team tag that is associated with the principal. During testing, the security engineer notices that a principal can still put objects into the S3 bucket when the tag values do not match. Which combination of factors are causing the PutObject operation to succeed when the tag values are different? (Choose two.)

AThe principal's identity-based policy grants access to put objects into the S3 bucket with no
BThe principal's identity-based policy overrides the condition because the identity-based policy
CThe S3 bucket's resource policy does not deny access to put objects.
DThe S3 bucket's resource policy cannot allow actions to the principal.
EThe bucket policy does not apply to principals in the same zone of trust.
Question #69Part 2

A company is hosting multiple applications within a single VPC in its AWS account. The applications are running behind an Application Load Balancer that is associated with an AWS WAF web ACL. The company's security team has identified that multiple port scans are originating from a specific range of IP addresses on the internet. A security engineer needs to deny access from the offending IP addresses. Which solution will meet these requirements?

AModify the AWS WAF web ACL with an IP set match rule statement to deny incoming
BAdd a rule to all security groups to deny the incoming requests from the IP address range.
CModify the AWS WAF web ACL with a rate-based rule statement to deny the incoming
DConfigure the AWS WAF web ACL with regex match conditions. Specify a pattern set to deny
Question #70Part 2Select 3

A company has contracted with a third party to audit several AWS accounts. To enable the audit, cross-account IAM roles have been created in each account targeted for audit. The auditor is having trouble accessing some of the accounts. Which of the following may be causing this problem? (Choose three.)

AThe external ID used by the auditor is missing or incorrect.
BThe auditor is using the incorrect password.
CThe auditor has not been granted sts:AssumeRole for the role in the destination account.
DThe Amazon EC2 role used by the auditor must be set to the destination account role.
EThe secret key used by the auditor is missing or incorrect.
Question #71Part 2

A security engineer needs to configure an Amazon S3 bucket policy to restrict access to an S3 bucket that is named DOC-EXAMPLE-BUCKET. The policy must allow access to only DOC-EXAMPLE-BUCKET from only the following endpoint: vpce-1a2b3c4d. The policy must deny all access to DOC-EXAMPLE-BUCKET if the specified endpoint is not used. Which bucket policy statement meets these requirements?

AB.
CD.
Question #72Part 2Select 3

A company has a group of Amazon EC2 instances in a single private subnet of a VPC with no internet gateway attached. A security engineer has installed the Amazon CloudWatch agent on all instances in that subnet to capture logs from a specific application. To ensure that the logs flow securely, the company's networking team has created VPC endpoints for CloudWatch monitoring and CloudWatch logs. The networking team has attached the endpoints to the VPC. The application is generating logs However, when the security engineer queries CloudWatch, the logs do not appear. Which combination of steps should the security engineer take to troubleshoot this issue? (Choose three.)

AEnsure that the EC2 instance profile that is attached to the EC2 instances has permissions to
BCreate a metric filter on the logs so that they can be viewed in the AWS Management
CCheck the CloudWatch agent configuration file on each EC2 instance to make sure that the
DCheck the VPC endpoint policies of both VPC endpoints to ensure that the EC2 instances
ECreate a NAT gateway in the subnet so that the EC2 instances can communicate with
Question #73Part 2

A company uses AWS Signer with all of the company's AWS Lambda functions. A developer recently stopped working for the company. The company wants to ensure that all the code that the developer wrote can no longer be deployed to the Lambda functions. Which solution will meet this requirement?

ARevoke all versions of the signing profile assigned to the developer.
BExamine the developer's IAM roles. Remove all permissions that grant access to Signer.
CRe-encrypt all source code with a new AWS Key Management Service (AWS KMS) key.
DUse Amazon CodeGuru to profile all the code that the Lambda functions use.
Question #74Part 2

A company plans to use AWS Key Management Service (AWS KMS) to implement an encryption strategy to protect data at rest. The company requires client-side encryption for company projects. The company is currently conducting multiple projects to test the company's use of AWS KMS. These tests have led to a sudden increase in the company's AWS resource consumption. The test projects include applications that issue multiple requests each second to KMS endpoints for encryption activities. The company needs to develop a solution that does not throttle the company's ability to use AWS KMS. The solution must improve key usage for client-side encryption and must be cost optimized. Which solution will meet these requirements?

AUse keyrings with the AWS Encryption SDK. Use each keyring individually or combine
BUse data key caching. Use the local cache that the AWS Encryption SDK provides with a
CUse KMS key rotation. Use a local cache in the AWS Encryption SDK with a caching
DUse keyrings with the AWS Encryption SDK. Use each keyring individually or combine
Question #75Part 2

A security team is working on a solution that will use Amazon EventBridge to monitor new Amazon S3 objects. The solution will monitor for public access and for changes to any S3 bucket policy or setting that result in public access. The security team configures EventBridge to watch for specific API calls that are logged from AWS CloudTrail. EventBridge has an action to send an email notification through Amazon Simple Notification Service (Amazon SNS) to the security team immediately with details of the API call. Specifically, the security team wants EventBridge to watch for the s3:PutObjectAcl, s3:DeleteBucketPolicy, and s3:PutBucketPolicy API invocation logs from CloudTrail. While developing the solution in a single account, the security team discovers that the s3:PutObjectAcl API call does not invoke an EventBridge event. However, the s3:DeleteBucketPolicy API call and the s3:PutBucketPolicy API call do invoke an event. The security team has enabled CloudTrail for AWS management events with a basic configuration in the AWS Region in which EventBridge is being tested. Verification of the EventBridge event pattern indicates that the pattern is set up correctly. The security team must implement a solution so that the s3:PutObjectAcl API call will invoke an EventBridge event. The solution must not generate false notifications. Which solution will meet these requirements?

AModify the EventBridge event pattern by selecting Amazon S3. Select All Events as the event
BModify the EventBridge event pattern by selecting Amazon S3. Select Bucket Level
CEnable CloudTrail Insights to identify unusual API activity.
DEnable CloudTrail to monitor data events for read and write operations to S3 buckets.
Question #76Part 2

A company uses Amazon GuardDuty. The company's security team wants all High severity findings to automatically generate a ticket in a third-party ticketing system through email integration. Which solution will meet this requirement?

ACreate a verified identity for the third-party ticketing email system in Amazon Simple Email
BCreate an Amazon Simple Notification Service (Amazon SNS) topic. Subscribe the third-party
CUse the GuardDuty CreateFilter API operation to build a filter in GuardDuty to monitor for
DUse the GuardDuty CreateFilter API operation to build a filter in GuardDuty to monitor for
Question #77Part 2

A company is using AWS Organizations to implement a multi-account strategy. The company does not have on-premises infrastructure. All workloads run on AWS. The company currently has eight member accounts. The company anticipates that it will have no more than 20 AWS accounts total at any time. The company issues a new security policy that contains the following requirements: • No AWS account should use a VPC within the AWS account for workloads. • The company should use a centrally managed VPC that all AWS accounts can access to launch workloads in subnets. • No AWS account should be able to modify another AWS account's application resources within the centrally managed VPC. • The centrally managed VPC should reside in an existing AWS account that is named Ac-count-A within an organization. The company uses an AWS CloudFormation template to create a VPC that contains multiple subnets in Account-

AUse a CloudFormation template in the member accounts to launch workloads. Configure the
BUse a transit gateway in the VPC within Account-A. Configure the member accounts to use
CUse AWS Resource Access Manager (AWS RAM) to share Account-A's VPC subnets with
DCreate a peering connection between Account-A and the remaining member accounts.
Question #78Part 2

A company's security team needs to receive a notification whenever an AWS access key has not been rotated in 90 or more days. A security engineer must develop a solution that provides these notifications automatically. Which solution will meet these requirements with the LEAST amount of effort?

ADeploy an AWS Config managed rule to run on a periodic basis of 24 hours. Select the
BCreate a script to export a .csv file from the AWS Trusted Advisor check for IAM access key
CCreate a script to download the IAM credentials report on a periodic basis. Load the script
DCreate an AWS Lambda function that queries the IAM API to list all the users. Iterate through
Question #79Part 2

A company maintains an open-source application that is hosted on a public GitHub repository. While creating a new commit to the repository, an engineer uploaded their AWS access key and secret access key. The engineer reported the mistake to a manager, and the manager immediately disabled the access key. The company needs to assess the impact of the exposed access key. A security engineer must recommend a solution that requires the least possible managerial overhead. Which solution meets these requirements?

AAnalyze an AWS Identity and Access Management (IAM) use report from AWS Trusted
BAnalyze Amazon CloudWatch Logs for activity by searching for the access key.
CAnalyze VPC flow logs for activity by searching for the access key.
DAnalyze a credential report in AWS Identity and Access Management (IAM) to see when the
Question #80Part 2

A company plans to create individual child accounts within an existing organization in AWS Organizations for each of its DevOps teams. AWS CloudTrail has been enabled and configured on all accounts to write audit logs to an Amazon S3 bucket in a centralized AWS account. A security engineer needs to ensure that DevOps team members are unable to modify or disable this configuration. How can the security engineer meet these requirements?

ACreate an IAM policy that prohibits changes to the specific CloudTrail trail and apply the
BCreate an S3 bucket policy in the specified destination account for the CloudTrail trail that
CCreate an SCP that prohibits changes to the specific CloudTrail trail and apply the SCP to the
DCreate an IAM policy that prohibits changes to the specific CloudTrail trail and apply the
Question #81Part 2

A company's policy requires that all API keys be encrypted and stored separately from source code in a centralized security account. This security account is managed by the company's security team. However, an audit revealed that an API key is stored with the source code of an AWS Lambda function in an AWS CodeCommit repository in the DevOps account. How should the security team securely store the API key?

ACreate a CodeCommit repository in the security account using AWS Key Management
BStore the API key in an Amazon S3 bucket in the security account using server-side
CCreate a secret in AWS Secrets Manager in the security account to store the API key using
DCreate an encrypted environment variable for the Lambda function to store the API key using
Question #82Part 2

A security engineer is asked to update an AWS CloudTrail log file prefix for an existing trail. When attempting to save the change in the CloudTrail console, the security engineer receives the following error message: "There is a problem with the bucket policy." What will enable the security engineer to save the change?

ACreate a new trail with the updated log file prefix, and then delete the original trail. Update the
BUpdate the existing bucket policy in the Amazon S3 console to allow the security engineer's
CUpdate the existing bucket policy in the Amazon S3 console with the new log file prefix, and
DUpdate the existing bucket policy in the Amazon S3 console to allow the security engineer's
Question #83Part 2

A company uses AWS Organizations. The company wants to implement short-term credentials for third-party AWS accounts to use to access accounts within the company's organization. Access is for the AWS Management Console and third-party software-as-a-service (SaaS) applications. Trust must be enhanced to prevent two external accounts from using the same credentials. The solution must require the least possible operational effort. Which solution will meet these requirements?

AUse a bearer token authentication with OAuth or SAML to manage and share a central
BImplement AWS IAM Identity Center (AWS Single Sign-On), and use an identity source of
CCreate a unique IAM role for each external account. Create a trust policy. Use AWS Secrets
DCreate a unique IAM role for each external account. Create a trust policy that includes a
Question #84Part 2

A company is evaluating its security posture. In the past, the company has observed issues with specific hosts and host header combinations that affected the company's business. The company has configured AWS WAF web ACLs as an initial step to mitigate these issues. The company must create a log analysis solution for the AWS WAF web ACLs to monitor problematic activity. The company wants to process all the AWS WAF logs in a central location. The company must have the ability to filter out requests based on specific hosts. A security engineer starts to enable access logging for the AWS WAF web ACLs. What should the security engineer do next to meet these requirements with the MOST operational efficiency?

ASpecify Amazon Redshift as the destination for the access logs. Deploy the Amazon Athena
BSpecify Amazon CloudWatch as the destination for the access logs. Use Amazon
CSpecify Amazon CloudWatch as the destination for the access logs. Export the CloudWatch
DSpecify Amazon CloudWatch as the destination for the access logs. Use Amazon Redshift
Question #85Part 2Select 2

A security engineer is trying to use Amazon EC2 Image Builder to create an image of an EC2 instance. The security engineer has configured the pipeline to send logs to an Amazon S3 bucket. When the security engineer runs the pipeline, the build fails with the following error: "AccessDenied: Access Denied status code: 403". The security engineer must resolve the error by implementing a solution that complies with best practices for least privilege access. Which combination of steps will meet these requirements? (Choose two.)

AEnsure that the following policies are attached to the IAM role that the security engineer is
BEnsure that the following policies are attached to the instance profile for the EC2 instance:
CEnsure that the AWSImageBuilderFullAccess policy is attached to the instance profile for the
DEnsure that the security engineer's IAM role has the s3:PutObject permission for the S3
EEnsure that the instance profile for the EC2 instance has the s3:PutObject permission for the
Question #86Part 2

A security engineer must use AWS Key Management Service (AWS KMS) to design a key management solution for a set of Amazon Elastic Block Store (Amazon EBS) volumes that contain sensitive data. The solution needs to ensure that the key material automatically expires in 90 days. Which solution meets these criteria?

AA customer managed key that uses customer provided key material
BA customer managed key that uses AWS provided key material
CAn AWS managed key
DOperating system encryption that uses GnuPG
Question #87Part 2Select 2

A security engineer is building a Java application that is running on Amazon EC2. The application communicates with an Amazon RDS instance and authenticates with a user name and password. Which combination of steps can the engineer take to protect the credentials and minimize downtime when the credentials are rotated? (Choose two.)

AHave a database administrator encrypt the credentials and store the ciphertext in Amazon
BConfigure a scheduled job that updates the credential in AWS Systems Manager Parameter
CConfigure automatic rotation of credentials in AWS Secrets Manager.
DStore the credential in an encrypted string parameter in AWS Systems Manager Parameter
EConfigure the Java application to catch a connection failure and make a call to AWS Secrets
Question #88Part 2Select 2

A company uses SAML federation to grant users access to AWS accounts. A company workload that is in an isolated AWS account runs on immutable infrastructure with no human access to Amazon EC2. The company requires a specialized user known as a break glass user to have access to the workload AWS account and instances in the case of SAML errors. A recent audit discovered that the company did not create the break glass user for the AWS account that contains the workload. The company must create the break glass user. The company must log any activities of the break glass user and send the logs to a security team. Which combination of solutions will meet these requirements? (Choose two.)

ACreate a local individual break glass IAM user for the security team. Create a trail in AWS
BCreate a break glass EC2 key pair for the AWS account. Provide the key pair to the security
CCreate a break glass IAM role for the account. Allow security team members to perform the
DCreate a local individual break glass IAM user on the operating system level of each
EConfigure AWS Systems Manager Session Manager for Amazon EC2. Configure an AWS
Question #89Part 2Select 3

A security engineer is working with a product team building a web application on AWS. The application uses Amazon S3 to host the static content, Amazon API Gateway to provide RESTful services, and Amazon DynamoDB as the backend data store. The users already exist in a directory that is exposed through a SAML identity provider. Which combination of the following actions should the engineer take to allow users to be authenticated into the web application and call APIs? (Choose three.)

ACreate a custom authorization service using AWS Lambda.
BConfigure a SAML identity provider in Amazon Cognito to map attributes to the Amazon
CConfigure the SAML identity provider to add the Amazon Cognito user pool as a relying party.
DConfigure an Amazon Cognito identity pool to integrate with social login providers.
EUpdate DynamoDB to store the user email addresses and passwords.
Question #90Part 2Select 3

A company needs to improve its ability to identify and prevent IAM policies that grant public access or cross-account access to resources. The company has implemented AWS Organizations and has started using AWS Identity and Access Management Access Analyzer to refine overly broad access to accounts in the organization. A security engineer must automate a response in the company's organization for any newly created policies that are overly permissive. The automation must remediate external access and must notify the company's security team. Which combination of steps should the security engineer take to meet these requirements? (Choose three.)

ACreate an AWS Step Functions state machine that checks the resource type in the finding
BCreate an AWS Batch job that forwards any resource type findings to an AWS Lambda
CIn Amazon EventBridge, create an event rule that matches active IAM Access Analyzer
DIn Amazon CloudWatch, create a metric filter that matches active IAM Access Analyzer
ECreate an Amazon Simple Queue Service (Amazon SQS) queue. Configure the queue to
Question #91Part 2

A security engineer is configuring a mechanism to send an alert when three or more failed sign-in attempts to the AWS Management Console occur during a 5-minute period. The security engineer creates a trail in AWS CloudTrail to assist in this work. Which solution will meet these requirements?

AIn CloudTrail, turn on Insights events on the trail. Configure an alarm on the insight with
BConfigure CloudTrail to send events to Amazon CloudWatch Logs. Create a metric filter for
CCreate an Amazon Athena table from the CloudTrail events. Run a query for eventName
DIn AWS Identity and Access Management Access Analyzer, create a new analyzer. Configure
Question #92Part 2Select 2

A company's security engineer is developing an incident response plan to detect suspicious activity in an AWS account for VPC hosted resources. The security engineer needs to provide visibility for as many AWS Regions as possible. Which combination of steps will meet these requirements MOST cost-effectively? (Choose two.)

ATurn on VPC Flow Logs for all VPCs in the account.
BActivate Amazon GuardDuty across all AWS Regions.
CActivate Amazon Detective across all AWS Regions.
DCreate an Amazon Simple Notification Service (Amazon SNS) topic. Create an Amazon
ECreate an AWS Lambda function. Create an Amazon EventBridge rule that invokes the
Question #93Part 2Select 2

A company stores images for a website in an Amazon S3 bucket. The company is using Amazon CloudFront to serve the images to end users. The company recently discovered that the images are being accessed from countries where the company does not have a distribution license. Which actions should the company take to secure the images to limit their distribution? (Choose two.)

AUpdate the S3 bucket policy to restrict access to a CloudFront origin access control (OAC).
BUpdate the website DNS record to use an Amazon Route 53 geolocation record deny list of
CAdd a CloudFront geo restriction deny list of countries where the company lacks a license.
DUpdate the S3 bucket policy with a deny list of countries where the company lacks a license.
EEnable the Restrict Viewer Access option in CloudFront to create a deny list of countries
Question #94Part 2

A company has deployed servers on Amazon EC2 instances in a VPC. External vendors access these servers over the internet. Recently, the company deployed a new application on EC2 instances in a new CIDR range. The company needs to make the application available to the vendors. A security engineer verified that the associated security groups and network ACLs are allowing the required ports in the inbound direction. However, the vendors cannot connect to the application. Which solution will provide the vendors access to the application?

AModify the security group that is associated with the EC2 instances to have the same
BModify the network ACL that is associated with the CIDR range to allow outbound traffic to
CModify the inbound rules on the internet gateway to allow the required ports.
DModify the network ACL that is associated with the CIDR range to have the same outbound
Question #95Part 2

A company uses infrastructure as code (IaC) to create AWS infrastructure. The company writes the code as AWS CloudFormation templates to deploy the infrastructure. The company has an existing CI/CD pipeline that the company can use to deploy these templates. After a recent security audit, the company decides to adopt a policy-as-code approach to improve the company's security posture on AWS. The company must prevent the deployment of any infrastructure that would violate a security policy, such as an unencrypted Amazon Elastic Block Store (Amazon EBS) volume. Which solution will meet these requirements?

ATurn on AWS Trusted Advisor. Configure security notifications as webhooks in the
BTurn on AWS Config. Use the prebuilt rules or customized rules. Subscribe tile CI/CD pipeline
CCreate rule sets in AWS CloudFormation Guard. Run validation checks for CloudFormation
DCreate rule sets as SCPs. Integrate the SCPs as a part of validation control in a phase of the
Question #96Part 2

A company is running an Amazon RDS for MySQL DB instance in a VPC. The VPC must not send or receive network traffic through the internet. A security engineer wants to use AWS Secrets Manager to rotate the DB instance credentials automatically. Because of a security policy, the security engineer cannot use the standard AWS Lambda function that Secrets Manager provides to rotate the credentials. The security engineer deploys a custom Lambda function in the VPC. The custom Lambda function will be responsible for rotating the secret in Secrets Manager. The security engineer edits the DB instance's security group to allow connections from this function. When the function is invoked, the function cannot communicate with the Secrets Manager to rotate the secret properly. What should the security engineer do so that the function can rotate the secret?

AAdd an egress-only internet gateway to the VPC. Allow only the Lambda function's subnet to
BAdd a NAT gateway to the VPC. Configure only the Lambda function's subnet with a default
CConfigure a VPC peering connection to the default VPC for Secrets Manager. Configure the
DConfigure a Secrets Manager interface VPC endpoint. Include the Lambda function's private
Question #97Part 2Select 2

The security engineer is managing a traditional three-tier web application that is running on Amazon EC2 instances. The application has become the target of increasing numbers of malicious attacks from the internet. What steps should the security engineer take to check for known vulnerabilities and limit the attack surface? (Choose two.)

AUse AWS Certificate Manager to encrypt all traffic between the client and application servers.
BReview the application security groups to ensure that only the necessary ports are open.
CUse Elastic Load Balancing to offload Secure Sockets Layer encryption.
DUse Amazon Inspector to periodically scan the backend instances.
EUse AWS Key Management Service (AWS KMS) to encrypt all the traffic between the client
Question #98Part 2

A company is using Amazon Elastic Container Service (Amazon ECS) to run its container-based application on AWS. The company needs to ensure that the container images contain no severe vulnerabilities. The company also must ensure that only specific IAM roles and specific AWS accounts can access the container images. Which solution will meet these requirements with the LEAST management overhead?

APull images from the public container registry. Publish the images to Amazon Elastic
BPull images from the public container registry. Publish the images to a private container
CPull images from the public container registry. Publish the images to Amazon Elastic
DPull images from the public container registry. Publish the images to AWS CodeArtifact
Question #99Part 2

A company's data scientists want to create artificial intelligence and machine learning (AI/ML) training models by using Amazon SageMaker. The training models will use large datasets in an Amazon S3 bucket. The datasets contain sensitive information. On average, the data scientists need 30 days to train models. The S3 bucket has been secured appropriately. The company's data retention policy states that all data that is older than 45 days must be removed from the S3 bucket. Which action should a security engineer take to enforce this data retention policy?

AConfigure an S3 Lifecycle rule on the S3 bucket to delete objects after 45 days.
BCreate an AWS Lambda function to check the last-modified date of the S3 objects and delete
CCreate an AWS Lambda function to check the last-modified date of the S3 objects and delete
DConfigure S3 Intelligent-Tiering on the S3 bucket to automatically transition objects to
Question #100Part 2

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: Which change should the security engineer make to the policy to ensure that the Lambda function can read the bucket objects?

ARemove the Condition element. Change the Principal element to the following:
BChange the Action element to the following:
CChange the Resource element to "arn:aws:s3:::DOC-EXAMPLE- BUCKET/*''.
DChange the Resource element to "arn:aws:lambda:::function:MyLambdaFunction". Change
Question #101Part 2

An IAM user receives an Access Denied message when the user attempts to access objects in an Amazon S3 bucket. The user and the S3 bucket are in the same AWS account. The S3 bucket is configured to use server-side encryption with AWS KMS keys (SSE-KMS) to encrypt all of its objects at rest by using a customer managed key from the same AWS account. The S3 bucket has no bucket policy defined. The IAM user has been granted permissions through an IAM policy that allows the kms:Decrypt permission to the customer managed key. The IAM policy also allows the s3:List* and s3:Get* permissions for the S3 bucket and its objects. Which of the following is a possible reason that the IAM user cannot access the objects in the S3 bucket?

AThe IAM policy needs to allow the kms:DescribeKey permission.
BThe S3 bucket has been changed to use the AWS managed key to encrypt objects at rest.
CAn S3 bucket policy needs to be added to allow the IAM user to access the objects.
DThe KMS key policy has been edited to remove the ability for the AWS account to have full
Question #102Part 2

A company has a guideline that mandates the encryption of all Amazon S3 bucket data in transit. A security engineer must implement an S3 bucket policy that denies any S3 operations if data is not encrypted. Which S3 bucket policy will meet this requirement?

AB.
CD.
Question #103Part 2

A security engineer wants to use Amazon Simple Notification Service (Amazon SNS) to send email alerts to a company's security team for Amazon GuardDuty findings that have a High severity level. The security engineer also wants to deliver these findings to a visualization tool for further examination. Which solution will meet these requirements?

ASet up GuardDuty to send notifications to an Amazon CloudWatch alarm with two targets in
BSet up GuardDuty to send notifications to AWS CloudTrail with two targets in CloudTrail.
CSet up GuardDuty to send notifications to Amazon EventBridge with two targets. From
DSet up GuardDuty to send notifications to Amazon EventBridge with two targets. From
Question #104Part 2

A security engineer needs to implement a write-once-read-many (WORM) model for data that a company will store in Amazon S3 buckets. The company uses the S3 Standard storage class for all of its S3 buckets. The security engineer must ensure that objects cannot be overwritten or deleted by any user, including the AWS account root user. Which solution will meet these requirements?

ACreate new S3 buckets with S3 Object Lock enabled in compliance mode. Place objects in
BUse S3 Glacier Vault Lock to attach a Vault Lock policy to new S3 buckets. Wait 24 hours to
CCreate new S3 buckets with S3 Object Lock enabled in governance mode. Place objects in
DCreate new S3 buckets with S3 Object Lock enabled in governance mode. Add a legal hold
Question #105Part 2

A company needs complete encryption of the traffic between external users and an application. The company hosts the application on a fleet of Amazon EC2 instances that run in an Auto Scaling group behind an Application Load Balancer (ALB). How can a security engineer meet these requirements?

ACreate a new Amazon-issued certificate in AWS Secrets Manager. Export the certificate from
BCreate a new Amazon-issued certificate in AWS Certificate Manager (ACM). Associate the
CImport a new third-party certificate into AWS Identity and Access Management (IAM). Export
DImport a new third-party certificate into AWS Certificate Manager (ACM). Associate the
Question #106Part 2

A company has an organization with SCPs in AWS Organizations. The root SCP for the organization is as follows: The company's developers are members of a group that has an IAM policy that allows access to Amazon Simple Email Service (Amazon SES) by allowing ses:* actions. The account is a child to an OU that has an SCP that allows Amazon SES. The developers are receiving a not-authorized error when they try to access Amazon SES through the AWS Management Console. Which change must a security engineer implement so that the developers can access Amazon SES?

AAdd a resource policy that allows each member of the group to access Amazon SES.
BAdd a resource policy that allows "Principal": {"AWS":
CRemove the AWS Control Tower control (guardrail) that restricts access to Amazon SES.
DRemove Amazon SES from the root SCP.
Question #107Part 2Select 2

A company hosts a public website on an Amazon EC2 instance. HTTPS traffic must be able to access the website. The company uses SSH for management of the web server. The website is on the subnet 10.0.1.0/24. The management subnet is 192.168.100.0/24. A security engineer must create a security group for the EC2 instance. Which combination of steps should the security engineer take to meet these requirements in the MOST secure manner? (Choose two.)

AAllow port 22 from source 0.0.0.0/0.
BAllow port 443 from source 0.0 0 0/0.
CAllow port 22 from 192.168.100.0/24.
DAllow port 22 from 10.0.1.0/24.
EAllow port 443 from 10.0.1.0/24.
Question #108Part 2

A security engineer wants to forward custom application-security logs from an Amazon EC2 instance to Amazon CloudWatch. The security engineer installs the CloudWatch agent on the EC2 instance and adds the path of the logs to the CloudWatch configuration file. However, CloudWatch does not receive the logs. The security engineer verifies that the awslogs service is running on the EC2 instance. What should the security engineer do next to resolve the issue?

AAdd AWS CloudTrail to the trust policy of the EC2 in stance. Send the custom logs to
BAdd Amazon S3 to the trust policy of the EC2 instance. Configure the application to write the
CAdd Amazon Inspector to the trust policy of the EC2 instance. Use Amazon Inspector instead
DAttach the CloudWatchAgentServerPolicy AWS managed policy to the EC2 instance role.
Question #109Part 2

A systems engineer is troubleshooting the connectivity of a test environment that includes a virtual security appliance deployed inline. In addition to using the virtual security appliance, the development team wants to use security groups and network ACLs to accomplish various security requirements in the environment. What configuration is necessary to allow the virtual security appliance to route the traffic?

ADisable network ACLs.
BConfigure the security appliance's elastic network interface for promiscuous mode.
CDisable the Network Source/Destination check on the security appliance's elastic network
DPlace the security appliance in the public subnet with the internet gateway.
Question #110Part 2

A security engineer needs to create an Amazon S3 bucket policy to grant least privilege read access to IAM user accounts that are named User1, User2, and User3. These IAM user accounts are members of the AuthorizedPeople IAM group. The security engineer drafts the following S3 bucket policy: When the security engineer tries to add the policy to the S3 bucket, the following error message appears: "Missing required field Principal." The security engineer is adding a Principal element to the policy. The addition must provide read access to only User1, User2, and User3. Which solution meets these requirements?

AB.
CD.
Question #111Part 2

A security engineer recently rotated all IAM access keys in an AWS account. The security engineer then configured AWS Config and enabled the following AWS Config managed rules: mfa-enabled-for-iam-console-access, iam-user-mfa-enabled, access-keys-rotated, and iam-user-unused-credentials-check. The security engineer notices that all resources are displaying as noncompliant after the IAM GenerateCredentialReport API operation is invoked. What could be the reason for the noncompliant status?

AThe IAM credential report was generated within the past 4 hours.
BThe security engineer does not have the GenerateCredentialReport permission.
CThe security engineer does not have the GetCredenlialReport permission.
DThe AWS Config rules have a MaximumExecutionFrequency value of 24 hours.
Question #112Part 2

A company is using AWS WAF to protect a customized public API service that is based on Amazon EC instances. The API uses an Application Load Balancer. The AWS WAF web ACL is configured with an AWS Managed Rules rule group. After a software upgrade to the API and the client application, some types of requests are no longer working and are causing application stability issues. A security engineer discovers that AWS WAF logging is not turned on for the web ACL. The security engineer needs to immediately return the application to service, resolve the issue, and ensure that logging is not turned off in the future. The security engineer turns on logging for the web ACL and specifies Amazon CloudWatch Logs as the destination. Which additional set of steps should the security engineer take to meet the requirements?

AEdit the rules in the web ACL to include rules with Count actions. Review the logs to
BEdit the rules in the web ACL to include rules with Count actions. Review the logs to
CEdit the rules in the web ACL to include rules with Count and Challenge actions. Review the
DEdit the rules in the web ACL to include rules with Count and Challenge actions. Review the
Question #113Part 2Select 2

A security engineer is creating an AWS Lambda function. The Lambda function needs to use a role that is named LambdaAuditRole to assume a role that is named AcmeAuditFactoryRole in a different AWS account. When the code is processed, the following error message appears: "An error occurred (AccessDenied) when calling the AssumeRole operation." Which combination of steps should the security engineer take to resolve this error? (Choose two.)

AEnsure that LambdaAuditRole has the sts:AssumeRole permission for
BEnsure that LambdaAuditRole has the AWSLambdaBasicExecutionRole managed policy
CEnsure that the trust policy for AcmeAuditFactoryRole allows the sts:AssumeRole action from
DEnsure that the trust policy for LambdaAuditRole allows the sts:AssumeRole action from the
EEnsure that the sts:AssumeRole API call is being issued to the us-east-1 Region endpoint.
Question #114Part 2Select 2

A company has AWS accounts in an organization in AWS Organizations. The organization includes a dedicated security account. All AWS account activity across all member accounts must be logged and reported to the dedicated security account. The company must retain all the activity logs in a secure storage location within the dedicated security account for 2 years. No changes or deletions of the logs are allowed. Which combination of steps will meet these requirements with the LEAST operational overhead? (Choose two.)

AIn the dedicated security account, create an Amazon S3 bucket. Configure S3 Object Lock in
BIn the dedicated security account, create an Amazon S3 bucket. Configure S3 Object Lock in
CIn the dedicated security account, create an Amazon S3 bucket that has an S3 Lifecycle
DCreate an AWS CloudTrail trail for the organization. Configure logs to be delivered to the
ETurn on AWS CloudTrail in each account. Configure logs to be delivered to an Amazon S3
Question #115Part 2

A company is testing its incident response plan for compromised credentials. The company runs a database on an Amazon EC2 instance and stores the sensitive database credentials as a secret in AWS Secrets Manager. The secret has rotation configured with an AWS Lambda function that uses the generic rotation function template. The EC2 instance and the Lambda function are deployed in the same private subnet. The VPC has a Secrets Manager VPC endpoint. A security engineer discovers that the secret cannot rotate. The security engineer determines that the VPC endpoint is working as intended. The Amazon CloudWatch logs contain the following error: "setSecret: Unable to log into database". Which solution will resolve this error?

AUse the AWS Management Console to edit the JSON structure of the secret in Secrets
BEnsure that the security group that is attached to the Lambda function allows outbound
CUse the Secrets Manager list-secrets command in the AWS CLI to list the secret. Identify the
DAdd an internet gateway to the VPC. Create a NAT gateway in a public subnet. Update the
Question #116Part 2

A company deploys a set of standard IAM roles in AWS accounts. The IAM roles are based on job functions within the company. To balance operational efficiency and security, a security engineer implemented AWS Organizations SCPs to restrict access to critical security services in all company accounts. All of the company's accounts and OUs within AWS Organizations have a default FullAWSAccess SCP that is attached. The security engineer needs to ensure that no one can disable Amazon GuardDuty and AWS Security Hub. The security engineer also must not override other permissions that are granted by IAM policies that are defined in the accounts. Which SCP should the security engineer attach to the root of the organization to meet these requirements?

AB.
CD.
Question #117Part 2

A company needs to follow security best practices to deploy resources from an AWS CloudFormation template. The CloudFormation template must be able to configure sensitive database credentials. The company already uses AWS Key Management Service (AWS KMS) and AWS Secrets Manager. Which solution will meet the requirements?

AUse a dynamic reference in the CloudFormation template to reference the database
BUse a parameter in the CloudFormation template to reference the database credentials.
CUse a SecureString parameter in the CloudFormation template to reference the database
DUse a SecureString parameter in the CloudFormation template to reference an encrypted
Question #118Part 2Select 3

An international company wants to combine AWS Security Hub findings across all the company's AWS Regions and from multiple accounts. In addition, the company wants to create a centralized custom dashboard to correlate these findings with operational data for deeper analysis and insights. The company needs an analytics tool to search and visualize Security Hub findings. Which combination of steps will meet these requirements? (Choose three.)

ADesignate an AWS account as a delegated administrator for Security Hub. Publish events to
BDesignate an AWS account in an organization in AWS Organizations as a delegated
CIn each Region, create an Amazon EventBridge rule to deliver findings to an Amazon Kinesis
DIn each Region, create an Amazon EventBridge rule to deliver findings to an Amazon Kinesis
EUse AWS Glue DataBrew to crawl the Amazon S3 bucket and build the schema. Use AWS
Question #119Part 2

An AWS account administrator created an IAM group and applied the following managed policy to require that each individual user authenticate using multi-factor authentication: After implementing the policy, the administrator receives reports that users are unable to perform Amazon EC2 commands using the AWS CLI. What should the administrator do to resolve this problem while still enforcing multi-factor authentication?

AChange the value of aws:MultiFactorAuthPresent to true.
BInstruct users to run the aws sts get-session-token CLI command and pass the multi-factor
CImplement federated API/CLI access using SAML 2.0, then configure the identity provider to
DCreate a role and enforce multi-factor authentication in the role trust policy. Instruct users to
Question #120Part 2

A company is developing a mechanism that will help data scientists use Amazon SageMaker to read, process, and output data to an Amazon S3 bucket. Data scientists will have access to a dedicated S3 prefix for each of their projects. The company will implement bucket policies that use the dedicated S3 prefixes to restrict access to the S3 objects. The projects can last up to 60 days. The company's security team mandates that data cannot remain in the S3 bucket after the end of the projects that use the data. Which solution will meet these requirements MOST cost-effectively?

ACreate an AWS Lambda function to identify and delete objects in the S3 bucket that have not
BCreate a new S3 bucket. Configure the new S3 bucket to use S3 Intelligent-Tiering. Copy the
CCreate an S3 Lifecycle configuration for each S3 bucket prefix for each project. Set the S3
DCreate an AWS Lambda function to delete objects that have not been accessed for 60 days.
Question #121Part 3

A company has AWS accounts that are in an organization in AWS Organizations. An Amazon S3 bucket in one of the accounts is publicly accessible. A security engineer must change the configuration so that the S3 bucket is no longer publicly accessible. The security engineer also must ensure that the S3 bucket cannot be made publicly accessible in the future. Which solution will meet these requirements?

AConfigure the S3 bucket to use an AWS Key Management Service (AWS KMS) key. Encrypt
BEnable the PublicAccessBlock configuration on the S3 bucket. Configure an SCP to deny the
CEnable the PublicAccessBlock configuration on the S3 bucket. Configure an SCP to deny the
DConfigure the S3 bucket to use S3 Object Lock in governance mode. Configure an SCP to
Question #122Part 3Select 2

A company is designing a new application stack. The design includes web servers and backend servers that are hosted on Amazon EC2 instances. The design also includes an Amazon Aurora MySQL DB cluster. The EC2 instances are in an Auto Scaling group that uses launch templates. The EC2 instances for the web layer and the backend layer are backed by Amazon Elastic Block Store (Amazon EBS) volumes. No layers are encrypted at rest. A security engineer needs to implement encryption at rest. Which combination of steps will meet these requirements? (Choose two.)

AModify EBS default encryption settings in the target AWS Region to enable encryption. Use
BModify the launch templates for the web layer and the backend layer to add AWS Certificate
CCreate a new AWS Key Management Service (AWS KMS) encrypted DB cluster from a
DApply AWS Key Management Service (AWS KMS) encryption to the existing DB cluster.
EApply AWS Certificate Manager (ACM) encryption to the existing DB cluster.
Question #123Part 3Select 2

A company uses SAML federation with AWS Identity and Access Management (IAM) to provide internal users with SSO for their AWS accounts. The company's identity provider certificate was rotated as part of its normal lifecycle. Shortly after users started receiving the following error when attempting to log in: “Error: Response Signature Invalid (Service: AWSSecurityTokenService; Status Code: 400; Error Code: InvalidIdentityToken)” A security engineer needs to address the immediate issue and ensure that it will not occur again. Which combination of steps should the security engineer take to accomplish this? (Choose two.)

ADownload a new copy of the SAML metadata file from the identity provider. Create a new
BDuring the next certificate rotation period and before the current certificate expires, add a
CDownload a new copy of the SAML metadata file from the identity provider. Upload the new
DDuring the next certificate rotation period and before the current certificate expires, add a
EDownload a new copy of the SAML metadata file from the identity provider. Create a new
Question #124Part 3

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. How can the security engineer implement this solution?

ACreate a new security group in the database VPC and create an inbound rule that allows all
BCreate a new security group in the application VPC with an inbound rule that allows the IP
CCreate a new security group in the application VPC with no inbound rules. Create a new
DCreate a new security group in the application VPC with an inbound rule that allows the IP
Question #125Part 3Select 2

A company needs a forensic-logging solution for hundreds of applications running in Docker on Amazon EC2. The solution must perform real-time analytics on the logs, must support the replay of messages, and must persist the logs. Which AWS services should be used to meet these requirements? (Choose two.)

AAmazon Athena
BAmazon Kinesis
CAmazon SQS
DAmazon OpenSearch Service
EAmazon EMR
Question #126Part 3

A company has many member accounts in an organization in AWS Organizations. The company is concerned about the potential for misuse of the AWS account root user credentials for member accounts in the organization. To address this potential misuse, the company wants to ensure that even if the account root user credentials are compromised the account is still protected. Which solution will meet this requirement?

ABlock service access by using SCPs for the root user
BRemove the password for the root user
CDelete access keys for the root user
DCreate an Amazon EventBridge rule to detect any AWS account root user API events
Question #127Part 3

An Amazon EC2 Auto Scaling group launches Amazon Linux EC2 instances and installs the Amazon CloudWatch agent to publish logs to Amazon CloudWatch Logs. The EC2 instances launch with an IAM role that has an IAM policy attached. The policy provides access to publish custom metrics to CloudWatch. The EC2 instances run in a private subnet inside a VPC. The VPC provides access to the internet for private subnets through a NAT gateway. A security engineer notices that no logs are being published to CloudWatch Logs for the EC2 instances that the Auto Scaling group launches. The security engineer validates that the CloudWatch Logs agent is running and is configured properly on the EC2 instances. In addition, the security engineer validates that network communications are working properly to AWS services. What can the security engineer do to ensure that the logs are published to CloudWatch Logs?

AConfigure the IAM policy in use by the IAM role to have access to the required cloudwatch:
BAdjust the Amazon EC2 Auto Scaling service-linked role to have permissions to write to
CConfigure the IAM policy in use by the IAM role to have access to the required AWS logs.
DAdd an interface VPC endpoint to provide a route to CloudWatch Logs.
Question #128Part 3

A company uses Amazon Elastic Container Service (Amazon ECS) containers that have the Fargate launch type. The containers run web and mobile applications that are written in Java and Node.js. To meet network segmentation requirements, each of the company’s business units deploys applications in its own dedicated AWS account. Each business unit stores container images in an Amazon Elastic Container Registry (Amazon ECR) private registry in its own account. A security engineer must recommend a solution to scan ECS containers and ECR registries for vulnerabilities in operating systems and programming language libraries. The company’s audit team must be able to identify potential vulnerabilities that exist in any of the accounts where applications are deployed. Which solution will meet these requirements?

AIn each account, update the ECR registry to use Amazon Inspector instead of the default
BIn each account, configure AWS Config to monitor the configuration of the ECS containers
CIn each account, configure AWS Audit Manager to scan the ECS containers and the ECR
DIn each account, configure Amazon GuardDuty to scan the ECS containers and the ECR
Question #129Part 3

A company uses Amazon EC2 Linux instances in the AWS Cloud. A member of the company’s security team recently received a report about common vulnerability identifiers on the instances. A security engineer needs to verify patching and perform remediation if the instances do not have the correct patches installed. The security engineer must determine which EC2 instances are at risk and must implement a solution to automatically update those instances with the applicable patches. What should the security engineer do to meet these requirements?

AUse AWS Systems Manager Patch Manager to view vulnerability identifiers for missing
BUse AWS Shield Advanced to view vulnerability identifiers for missing patches on the
CUse Amazon GuardDuty to view vulnerability identifiers for missing patches on the instances.
DUse Amazon inspector to view vulnerability identifiers for missing patches on the instances.
Question #130Part 3

A company hosts an application on Amazon EC2 that is subject to specific rules for regulatory compliance. One rule states that traffic to and from the workload must be inspected for network-level attacks. This involves inspecting the whole packet. To comply with this regulatory rule, a security engineer must install intrusion detection software on a c5n.4xlarge EC2 instance. The engineer must then configure the software to monitor traffic to and from the application instances. What should the security engineer do next?

APlace the network interface in promiscuous mode to capture the traffic
BConfigure VPC Flow Logs to send traffic to the monitoring EC2 instance using a Network
CConfigure VPC traffic mirroring to send traffic to the monitoring EC2 instance using a Network
DUse Amazon Inspector to detect network-level attacks and trigger an AWS Lambda function
Question #131Part 3

A company deploys a distributed web application on a fleet of Amazon EC2 instances. The fleet is behind an Application Load Balancer (ALB) that will be configured to terminate the TLS connection. All TLS traffic to the ALB must stay secure, even if the certificate private key is compromised. How can a security engineer meet this requirement?

ACreate an HTTPS listener that uses a certificate that is managed by AWS Certificate
BCreate an HTTPS listener that uses a security policy that uses a cipher suite with perfect
CCreate an HTTPS listener that uses the Server Order Preference security feature.
DCreate a TCP listener that uses a custom security policy that allows only cipher suites with
Question #132Part 3

A company recently adopted new compliance standards that require all user actions in AWS to be logged. The user actions must be logged for all accounts that belong to an organization in AWS Organizations. The company needs to set alarms that respond when specified actions occur. The alarms must forward alerts to an email distribution list. The alerts must occur in as close to real time as possible. Which solution will meet these requirements?

AImplement an AWS CloudTrail trail as an organizational trail. Configure the trail with Amazon
BImplement an AWS CloudTrail trail. Configure the trail with Amazon CloudWatch Logs
CImplement an AWS CloudTrail trail as an organizational trail. Configure the trail to store logs
DImplement an AWS CloudTrail trail. Configure the trail to store logs in an Amazon S3 bucket.
Question #133Part 3

A company wants to create a log analytics solution for logs generated from its on-premises devices. The logs are collected from the devices onto a server on premises. The company wants to use AWS services to perform near real-time log analysis. The company also wants to store these logs for 365 days for pattern matching and substring search capabilities later. Which solution will meet these requirements with the LEAST development overhead?

AInstall Amazon Kinesis Agent on the on-premises server to send the logs to Amazon
BInstall Amazon Managed Streaming for Apache Kafka (Amazon MSK) on the on-premises
CInstall Amazon Kinesis Agent on the on-premises server to send the logs to Amazon Kinesis
DUse Amazon API Gateway and AWS Lambda to write the logs from the on-premises server
Question #134Part 3

A company has a large fleet of Linux Amazon EC2 instances and Windows EC2 instances that run in private subnets. The company wants all remote administration to be performed as securely as possible in the AWS Cloud. Which solution will meet these requirements?

ADo not use SSH-RSA private keys during the launch of new instances. Implement AWS
BGenerate new SSH-RSA private keys for existing instances Implement AWS Systems
CDo not use SSH-RSA private keys during the launch of new instances Configure EC2
DGenerate new SSH-RSA private keys for existing instances Configure EC2 Instance Connect
Question #135Part 3Select 2

A company has decided to move its fleet of Linux-based web server instances to an Amazon EC2 Auto Scaling group. Currently, the instances are static and are launched manually. When an administrator needs to view log files, the administrator uses SSH to establish a connection to the instances and retrieves the logs manually. The company often needs to query the logs to produce results about application sessions and user issues. The company does not want its new automatically scaling architecture to result in the loss of any log files when instances are scaled in. Which combination of steps should a security engineer take to meet these requirements MOST cost-effectively? (Choose two.)

AConfigure a cron job on the instances to forward the log files to Amazon S3 periodically.
BConfigure AWS Glue and Amazon Athena to query the log files.
CConfigure the Amazon CloudWatch agent on the instances to forward the logs to Amazon
DConfigure Amazon CloudWatch Logs Insights to query the log files.
EConfigure the instances to write the logs to an Amazon Elastic File System (Amazon EFS)
Question #136Part 3

A company uses an external identity provider to allow federation into different AWS accounts. A security engineer for the company needs to identify the federated user that terminated a production Amazon EC2 instance a week ago. What is the FASTEST way for the security engineer to identify the federated user?

AReview the AWS CloudTrail event history logs in an Amazon S3 bucket and look for the
BFilter the AWS CloudTrail event history for the TerminateInstances event and identify the
CSearch the AWS CloudTrail logs for the TerminateInstances event and note the event time.
DUse Amazon Athena to run a SQL query on the AWS CloudTrail logs stored in an Amazon
Question #137Part 3

Two Amazon EC2 instances in different subnets should be able to connect to each other but cannot. It has been confirmed that other hosts in the same subnets are able to communicate successfully, and that security groups have valid ALLOW rules in place to permit this traffic. Which of the following troubleshooting steps should be performed?

ACheck inbound and outbound security groups, looking for DENY rules
BCheck inbound and outbound Network ACL rules, looking for DENY rules
CReview the rejected packet reason codes in the VPC Flow Logs
DUse AWS X-Ray to trace the end-to-end application flow
Question #138Part 3Select 3

A company has an application that needs to get objects from an Amazon S3 bucket. The application runs on Amazon EC2 instances. All the objects in the S3 bucket are encrypted with an AWS Key Management Service (AWS KMS) customer managed key. The resources in the VPC do not have access to the internet and use a gateway VPC endpoint to access Amazon S3. The company discovers that the application is unable to get objects from the S3 bucket. Which factors could cause this issue? (Choose three.)

AThe IAM instance profile that is attached to the EC2 instances does not allow the
BThe IAM instance profile that is attached to the EC2 instances does not allow the s3:ListParts
CThe KMS key policy that encrypts the objects in the S3 bucket does not allow the
DThe KMS key policy that encrypts the objects in the S3 bucket does not allow the
EThe S3 bucket policy does not allow access from the gateway VPC endpoint.
Question #139Part 3

A company runs workloads in the us-east-1 Region. The company has never deployed resources to other AWS Regions and does not have any multi-Region resources. The company needs to replicate its workloads and infrastructure to the us-west-1 Region. A security engineer must implement a solution that uses AWS Secrets Manager to store secrets in both Regions. The solution must use AWS Key Management Service (AWS KMS) to encrypt the secrets. The solution must minimize latency and must be able to work if only one Region is available. The security engineer uses Secrets Manager to create the secrets in us-east-1. What should the security engineer do next to meet the requirements?

AEncrypt the secrets in us-east-1 by using an AWS managed KMS key. Replicate the secrets
BEncrypt the secrets in us-east-1 by using an AWS managed KMS key. Configure resources in
CEncrypt the secrets in us-east-1 by using a customer managed KMS key. Configure
DEncrypt the secrets in us-east-1 by using a customer managed KMS key. Replicate the
Question #140Part 3

A company is using an AWS Key Management Service (AWS KMS) AWS owned key in its application to encrypt files in an AWS account. The company's security team wants the ability to change to new key material for new files whenever a potential key breach occurs. A security engineer must implement a solution that gives the security team the ability to change the key whenever the team wants to do so. Which solution will meet these requirements?

ACreate a new customer managed key. Add a key rotation schedule to the key. Invoke the key
BCreate a new AWS managed key. Add a key rotation schedule to the key. Invoke the key
CCreate a key alias. Create a new customer managed key every time the security team
DCreate a key alias. Create a new AWS managed key every time the security team requests a
Question #141Part 3

A security engineer needs to set up an Amazon CloudFront distribution for an Amazon S3 bucket that hosts a static website. The security engineer must allow only specified IP addresses to access the website. The security engineer also must prevent users from accessing the website directly by using S3 URLs. Which solution will meet these requirements?

AGenerate an S3 bucket policy. Specify cloudfront.amazonaws.com as the principal. Use the
BCreate a CloudFront origin access control (OAC). Create the S3 bucket policy so that only
CImplement security groups to allow only the specified IP addresses access and to restrict S3
DCreate an S3 bucket access point to allow access from only the CloudFront distribution.
Question #142Part 3

A company uses user data scripts that contain sensitive information to bootstrap Amazon EC2 instances. A security engineer discovers that this sensitive information is viewable by people who should not have access to it. What is the MOST secure way to protect the sensitive information used to bootstrap the instances?

AStore the scripts in the AMI and encrypt the sensitive data using AWS KMS. Use the instance
BStore the sensitive data in AWS Systems Manager Parameter Store using the encrypted
CExternalize the bootstrap scripts in Amazon S3 and encrypt them using AWS KMS. Remove
DBlock user access of the EC2 instance's metadata service using IAM policies. Remove all
Question #143Part 3

A company has a VPC that has no internet access and has the private DNS hostnames option enabled. An Amazon Aurora database is running inside the VPC. A security engineer wants to use AWS Secrets Manager to automatically rotate the credentials for the Aurora database. The security engineer configures the Secrets Manager default AWS Lambda rotation function to run inside the same VPC that the Aurora database uses. However, the security engineer determines that the password cannot be rotated properly because the Lambda function cannot communicate with the Secrets Manager endpoint. What is the MOST secure way that the security engineer can give the Lambda function the ability to communicate with the Secrets Manager endpoint?

AAdd a NAT gateway to the VPC to allow access to the Secrets Manager endpoint.
BAdd a gateway VPC endpoint to the VPC to allow access to the Secrets Manager endpoint.
CAdd an interface VPC endpoint to the VPC to allow access to the Secrets Manager endpoint.
DAdd an internet gateway for the VPC to allow access to the Secrets Manager endpoint.
Question #144Part 3

A company has two AWS accounts: Account A and Account

BThe application in Account A already has permission to write to the S3 bucket in Account B.
AIn both accounts, create a transit gateway and VPC attachments in a subnet in each
BDeploy a software VPN appliance in Account A. Create a VPN connection between the
CCreate a VPC peering connection between the VPC in Account A and the VPC in Account B.
DIn Account A, create a gateway VPC endpoint for Amazon S3. Update the VPC route table in
Question #145Part 3

A security engineer receives a notice about suspicious activity from a Linux-based Amazon EC2 instance that uses Amazon Elastic Block Store (Amazon EBS)-based storage. The instance is making connections to known malicious addresses. The instance is in a development account within a VPC that is in the us-east-1 Region. The VPC contains an internet gateway and has a subnet in us-east-1a and us-east-1b. Each subnet is associated with a route table that uses the internet gateway as a default route. Each subnet also uses the default network ACL. The suspicious EC2 instance runs within the us-east-1b subnet. During an initial investigation, a security engineer discovers that the suspicious instance is the only instance that runs in the subnet. Which response will immediately mitigate the attack and help investigate the root cause?

ALog in to the suspicious instance and use the netstat command to identify remote
BUpdate the outbound network ACL for the subnet in us-east-1 b to explicitly deny all
CEnsure that the Amazon Elastic Block Store (Amazon EBS) volumes that are attached to the
DCreate an AWS WAF web ACL that denies traffic to and from the suspicious instance. Attach
Question #146Part 3Select 2

An online media company has an application that customers use to watch events around the world. The application is hosted on a fleet of Amazon EC2 instances that run Amazon Linux 2. The company uses AWS Systems Manager to manage the EC2 instances. The company applies patches and application updates by using the AWS-AmazonLinux2DefaultPatchBaseline patching baseline in Systems Manager Patch Manager. The company is concerned about potential attacks on the application during the week of an upcoming event. The company needs a solution that can immediately deploy patches to all the EC2 instances in response to a security incident or vulnerability. The solution also must provide centralized evidence that the patches were applied successfully. Which combination of steps will meet these requirements? (Choose two.)

ACreate a new patching baseline in Patch Manager. Specify Amazon Linux 2 as the product.
BUse the Patch Now option with the scan and install operation in the Patch Manager console
CUse the Clone function of Patch Manager to create a copy of the
DCreate a patch policy that patches all managed nodes and sends a patch operation log
EUse Systems Manager Application Manager to inspect the package versions that were
Question #147Part 3

A developer operations team uses AWS Identity and Access Management (IAM) to manage user permissions. The team created an Amazon EC2 instance profile role that uses an AWS managed ReadOnlyAccess policy. When an application that is running on Amazon EC2 tries to read a file from an encrypted Amazon S3 bucket, the application receives an AccessDenied error. The team administrator has verified that the S3 bucket policy allows everyone in the account to access the S3 bucket. There is no object ACL that is attached to the file. What should the administrator do to fix the IAM access issue?

AEdit the ReadOnlyAccess policy to add kms:Decrypt actions
BAdd the EC2 IAM role as the authorized Principal to the S3 bucket policy
CAttach an inline policy with kms:Decrypt permissions to the IAM role
DAttach an inline policy with S3:* permissions to the IAM role
Question #148Part 3

A company uses AWS Organizations and has Amazon Elastic Kubernetes Service (Amazon EKS) clusters in many AWS accounts. A security engineer integrates Amazon EKS with AWS CloudTrail. The CloudTrail trails are stored in an Amazon S3 bucket in each account to monitor API calls. The security engineer observes that CloudTrail logs are not displaying Kubernetes pod creation events. What should the security engineer do to view the Kubernetes events from Amazon CloudWatch?

AConfigure the EKS clusters to use private S3 VPC endpoints. Configure the S3 buckets for
BEnable Kubernetes API server component logs for each cluster.
CEnable cross-origin resource sharing (CORS) in the S3 bucket that is used for logging.
DConfigure CloudWatch. View the events in the CloudWatch console.
Question #149Part 3

A security engineer needs to build a solution to turn AWS CloudTrail back on in multiple AWS Regions in case it is ever turned off. What is the MOST efficient way to implement this solution?

AUse AWS Config with a managed rule to initiate the AWS-EnableCloudTrail remediation.
BCreate an Amazon EventBridge event with a cloudtrail.amazonaws.com event source and a
CCreate an Amazon CloudWatch alarm with a cloudtrail.amazonaws.com event source and a
DMonitor AWS Trusted Advisor to ensure CloudTrail logging is enabled.
Question #150Part 3

An ecommerce company is developing a new architecture for an application release. The company needs to implement TLS for incoming traffic to the application. Traffic for the application will originate from the internet. TLS does not have to be implemented in an end-to-end configuration because the company is concerned about impacts on performance The incoming traffic types will be HTTP and HTTPS. The application uses ports 80 and 443. What should a security engineer do to meet these requirements?

ACreate a public Application Load Balancer. Create two listeners: one listener on port 80 and
BCreate a public Application Load Balancer. Create two listeners one listener on port 80 and
CCreate a public Network Load Balancer. Create two listeners one listener on port 80 and one
DCreate a public Network Load Balancer. Create a listener on port 443. Create one target
Question #151Part 3

A company needs a solution to protect critical data from being permanently deleted. The data is stored in Amazon S3 buckets. The company needs to replicate the S3 objects from the company's primary AWS Region to a secondary Region to meet disaster recovery requirements. The company must also ensure that users who have administrator access cannot permanently delete the data in the secondary Region. Which solution will meet these requirements?

AConfigure AWS Backup to perform cross-Region S3 backups. Select a backup vault in the
BImplement S3 Object Lock in compliance mode in the primary Region. Configure S3
CConfigure S3 replication to replicate the objects to an S3 bucket in the secondary Region.
DConfigure S3 replication to replicate the objects to an S3 bucket in the secondary Region.
Question #152Part 3Select 2

A company in France uses Amazon Cognito with the Cognito Hosted UI as an identity broker for sign-in and sign-up processes. The company is marketing an application and expects that all the application’s users will come from France. When the company launches the application, the company’s security team observes fraudulent sign-ups for the application. Most of the fraudulent registrations are from users outside of France. The security team needs a solution to perform custom validation at sign-up. Based on the results of the validation, the solution must accept or deny the registration request. Which combination of steps will meet these requirements? (Choose two.)

ACreate a pre-sign-up AWS Lambda trigger. Associate the Amazon Cognito function with the
BUse a geographic match rule statement to configure an AWS WAF web ACL Associate the
CConfigure an app client for the application's Amazon Cognito user pool. Use the app client ID
DUpdate the application’s Amazon Cognito user pool to configure a geographic restriction
EUse Amazon Cognito to configure a social identity provider (IdP) to validate the requests on
Question #153Part 3Select 2

A security engineer is configuring AWS Config for an AWS account that uses a new IAM entity. When the security engineer tries to configure AWS Config rules and automatic remediation options, errors occur. In the AWS CloudTrail logs, the security engineer sees the following error message: “Insufficient delivery policy to s3 bucket: DOC-EXAMPLE-BUCKET, unable to write to bucket, provided s3 key prefix is ‘null’.” Which combination of steps should the security engineer take to remediate this issue? (Choose two.)

ACheck the Amazon S3 bucket policy. Verify that the policy allows the config.amazonaws.com
BVerify that the IAM entity has the permissions necessary to perform the s3:GetBucketAcl and
CVerify that the Amazon S3 bucket policy has the permissions necessary to perform the
DCheck the policy that is associated with the IAM entity. Verify that the policy allows the
EVerify that the AWS Config service role has permissions to invoke the
Question #154Part 3Select 3

A company is undergoing a layer 3 and layer 4 DDoS attack on its web servers running on AWS. Which combination of AWS services and features will provide protection in this scenario? (Choose three.)

AAmazon Route 53
BAWS Certificate Manager (ACM)
CAmazon S3
DAWS Shield
ENetwork Load Balancer
Question #155Part 3

A company wants to implement host-based security for Amazon EC2 instances and containers in Amazon Elastic Container Registry (Amazon ECR). All the company's AWS accounts are in one organization in AWS Organizations. The company will analyze the workloads for software vulnerabilities and unintended network exposure. The company will push any findings to AWS Security Hub, which the company has configured for the organization. The company must deploy the solution to all member accounts, including new accounts, automatically. When new workloads come online, the solution must scan the workloads. Which solution will meet these requirements?

AUse SCPs to configure scanning of EC2 instances and ECR containers for all accounts in the
BConfigure a delegated administrator for Amazon GuardDuty for the organization. Create an
CConfigure a delegated administrator for Amazon Inspector for the organization. Configure
DConfigure a delegated administrator for Amazon Inspector for the organization. Create an

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!