Exams > Amazon > AWS Certified Security - Specialty
AWS Certified Security - Specialty
Page 11 out of 44 pages Questions 101-110 out of 434 questions
Question#101

A company's web application is hosted on Amazon EC2 instances running behind an Application Load Balancer (ALB) in an Auto Scaling group. An AWS WAF web ACL is associated with the ALB. AWS CloudTrail is enabled, and stores logs in Amazon S3 and Amazon CloudWatch Logs.
The Operations team has observed some EC2 instances reboot at random. After rebooting, all access logs on the instances have been deleted. During an investigation, the Operations team found that each reboot happened just after a PHP error occurred on the new-user-creation.php file. The Operations team needs to view log information to determine if the company is being attacked.
Which set of actions will identify the suspect attacker's IP address for future occurrences?

  • A. Configure VPC Flow Logs on the subnet where the ALB is located, and stream the data CloudWatch. Search for the new-user-creation.php occurrences in CloudWatch.
  • B. Configure the CloudWatch agent on the ALB. Configure the agent to send application logs to CloudWatch. Update the instance role to allow CloudWatch Logs access. Export the logs to CloudWatch. Search for the new-user-creation.php occurrences in CloudWatch.
  • C. Configure the ALB to export access logs to an Amazon Elasticsearch Service cluster, and use the service to search for the new-user-creation.php occurrences.
  • D. Configure the web ACL to send logs to Amazon Kinesis Data Firehose, which delivers the logs to an S3 bucket. Use Amazon Athena to query the logs and find the new-user-creation.php occurrences.
Discover Answer Hide Answer

A

Question#102

A company has hundreds of AWS accounts, and a centralized Amazon S3 bucket used to collect AWS CloudTrail logs for all of these accounts. A Security
Engineer wants to create a solution that will enable the company to run ad hoc queries against its CloudTrail logs dating back 3 years from when the trails were first enabled in the company's AWS account.
How should the company accomplish this with the least amount of administrative overhead?

  • A. Run an Amazon EMR cluster that uses a MapReduce job to examine the CloudTrail trails.
  • B. Use the events history feature of the CloudTrail console to query the CloudTrail trails.
  • C. Write an AWS Lambda function to query the CloudTrail trails. Configure the Lambda function to be executed whenever a new file is created in the CloudTrail S3 bucket.
  • D. Create an Amazon Athena table that looks at the S3 bucket the CloudTrail trails are being written to. Use Athena to run queries against the trails.
Discover Answer Hide Answer

B

Question#103

A Security Engineer is troubleshooting a connectivity issue between a web server that is writing log files to the logging server in another VPC. The Engineer has confirmed that a peering relationship exists between the two VPCs. VPC flow logs show that requests sent from the web server are accepted by the logging server, but the web server never receives a reply.
Which of the following actions could fix this issue?

  • A. Add an inbound rule to the security group associated with the logging server that allows requests from the web server.
  • B. Add an outbound rule to the security group associated with the web server that allows requests to the logging server.
  • C. Add a route to the route table associated with the subnet that hosts the logging server that targets the peering connection.
  • D. Add a route to the route table associated with the subnet that hosts the web server that targets the peering connection.
Discover Answer Hide Answer

A
Reference:
https://docs.aws.amazon.com/vpc/latest/userguide/VPC_SecurityGroups.html

Question#104

A Security Engineer accidentally deleted the imported key material in an AWS KMS CMK.
What should the Security Engineer do to restore the deleted key material?

  • A. Create a new CMK. Download a new wrapping key and a new import token to import the original key material.
  • B. Create a new CMK. Use the original wrapping key and import token to import the original key material.
  • C. Download a new wrapping key and a new import token. Import the original key material into the existing CMK.
  • D. Use the original wrapping key and import token. Import the original key material into the existing CMK.
Discover Answer Hide Answer

B
Reference:
https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html

Question#105

A company's Security Engineer is copying all application logs to centralized Amazon S3 buckets. Currently, each of the company's application is in its own AWS account, and logs are pushed into S3 buckets associated with each account. The Engineer will deploy an AWS Lambda function into each account that copies the relevant log files to the centralized S3 bucket.
The Security Engineer is unable to access the log files in the centralized S3 bucket. The Engineer's IAM user policy from the centralized account looks like this:

The centralized S3 bucket policy looks like this:

Why is the Security Engineer unable to access the log files?

  • A. The S3 bucket policy does not explicitly allow the Security Engineer access to the objects in the bucket.
  • B. The object ACLs are not being updated to allow the users within the centralized account to access the objects.
  • C. The Security Engineer's IAM policy does not grant permissions to read objects in the S3 bucket.
  • D. The s3:PutObject and s3:PutObjectAcl permissions should be applied at the S3 bucket level.
Discover Answer Hide Answer

D

Question#106

An application running on Amazon EC2 instances generates log files in a folder on a Linux file system. The instances block access to the console and file transfer utilities, such as Secure Copy Protocol (SCP) and Secure File Transfer Protocol (SFTP). The Application Support team wants to automatically monitor the application log files so the team can set up notifications in the future.
A Security Engineer must design a solution that meets the following requirements:
✑ Make the log files available through an AWS managed service.
Allow for automatic monitoring of the logs.

✑ Provide an interface for analyzing logs.
✑ Minimize effort.
Which approach meets these requirements?

  • A. Modify the application to use the AWS SDK. Write the application logs to an Amazon S3 bucket.
  • B. Install the unified Amazon CloudWatch agent on the instances. Configure the agent to collect the application log files on the EC2 file system and send them to Amazon CloudWatch Logs.
  • C. Install AWS Systems Manager Agent on the instances. Configure an automation document to copy the application log files to AWS DeepLens.
  • D. Install Amazon Kinesis Agent on the instances. Stream the application log files to Amazon Kinesis Data Firehose and set the destination to Amazon Elasticsearch Service.
Discover Answer Hide Answer

B
Reference:
https://docs.aws.amazon.com/systems-manager/latest/userguide/monitoring-cloudwatch-agent.html

Question#107

A company has multiple AWS accounts that are part of AWS Organizations. The company's Security team wants to ensure that even those Administrators with full access to the company's AWS accounts are unable to access the company's Amazon S3 buckets.
How should this be accomplished?

  • A. Use SCPs.
  • B. Add a permissions boundary to deny access to Amazon S3 and attach it to all roles.
  • C. Use an S3 bucket policy.
  • D. Create a VPC endpoint for Amazon S3 and deny statements for access to Amazon S3.
Discover Answer Hide Answer

A
Reference:
https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_policies_scps.html

Question#108

A Security Engineer has several thousand Amazon EC2 instances split across production and development environments. Each instance is tagged with its environment. The Engineer needs to analyze and patch all the development EC2 instances to ensure they are not currently exposed to any common vulnerabilities or exposures (CVEs).
Which combination of steps is the MOST efficient way for the Engineer to meet these requirements? (Choose two.)

  • A. Log on to each EC2 instance, check and export the different software versions installed, and verify this against a list of current CVEs.
  • B. Install the Amazon Inspector agent on all development instances. Build a custom rule package, and configure Inspector to perform a scan using this custom rule on all instances tagged as being in the development environment.
  • C. Install the Amazon Inspector agent on all development instances. Configure Inspector to perform a scan using this CVE rule package on all instances tagged as being in the development environment.
  • D. Install the Amazon EC2 System Manager agent on all development instances. Issue the Run command to EC2 System Manager to update all instances.
  • E. Use AWS Trusted Advisor to check that all EC2 instances have been patched to the most recent version of operating system and installed software.
Discover Answer Hide Answer

CD

Question#109

A company has decided to use encryption in its AWS account to secure the objects in Amazon S3 using server-side encryption. Object sizes range from 16,000 B to 5 MB. The requirements are as follows:
✑ The key material must be generated and stored in a certified Federal Information Processing Standard (FIPS) 140-2 Level 3 machine.
✑ The key material must be available in multiple Regions.
Which option meets these requirements?

  • A. Use an AWS KMS customer managed key and store the key material in AWS with replication across Regions.
  • B. Use an AWS customer managed key, import the key material into AWS KMS using in-house AWS CloudHSM, and store the key material securely in Amazon S3.
  • C. Use an AWS KMS custom key store backed by AWS CloudHSM clusters, and copy backups across Regions.
  • D. Use AWS CloudHSM to generate the key material and backup keys across Regions. Use the Java Cryptography Extension (JCE) and Public Key Cryptography Standards #11 (PKCS #11) encryption libraries to encrypt and decrypt the data.
Discover Answer Hide Answer

C

Question#110

An organization has a multi-petabyte workload that it is moving to Amazon S3, but the CISO is concerned about cryptographic wear-out and the blast radius if a key is compromised.
How can the CISO be assured that AWS KMS and Amazon S3 are addressing the concerns? (Choose two.)

  • A. There is no API operation to retrieve an S3 object in its encrypted form.
  • B. Encryption of S3 objects is performed within the secure boundary of the KMS service.
  • C. S3 uses KMS to generate a unique data key for each individual object.
  • D. Using a single master key to encrypt all data includes having a single place to perform audits and usage validation.
  • E. The KMS encryption envelope digitally signs the master key during encryption to prevent cryptographic wear-out.
Discover Answer Hide Answer

CD

chevron rightPrevious Nextchevron right