Amazon AWS Certified Security - Specialty Exam Practice Questions (P. 5)
- Full Access (509 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
Question #41
The Development team receives an error message each time the team members attempt to encrypt or decrypt a Secure String parameter from the SSM
Parameter Store by using an AWS KMS customer managed key (CMK).
Which CMK-related issues could be responsible? (Choose two.)
Parameter Store by using an AWS KMS customer managed key (CMK).
Which CMK-related issues could be responsible? (Choose two.)
- AThe CMK specified in the application does not exist.Most Voted
- BThe CMK specified in the application is currently in use.
- CThe CMK specified in the application is using the CMK KeyID instead of CMK Amazon Resource Name.
- DThe CMK specified in the application is not enabled.Most Voted
- EThe CMK specified in the application is using an alias.
Correct Answer:
AD
AD
send
light_mode
delete
Question #42
An application has been written that publishes custom metrics to Amazon CloudWatch. Recently, IAM changes have been made on the account and the metrics are no longer being reported.
Which of the following is the LEAST permissive solution that will allow the metrics to be delivered?
Which of the following is the LEAST permissive solution that will allow the metrics to be delivered?
- AAdd a statement to the IAM policy used by the application to allow logs:putLogEvents and logs:createLogStream
- BModify the IAM role used by the application by adding the CloudWatchFullAccess managed policy.
- CAdd a statement to the IAM policy used by the application to allow cloudwatch:putMetricData.Most Voted
- DAdd a trust relationship to the IAM role used by the application for cloudwatch.amazonaws.com.
Correct Answer:
C
C
send
light_mode
delete
Question #43
A Developer's laptop was stolen. The laptop was not encrypted, and it contained the SSH key used to access multiple Amazon EC2 instances. A Security
Engineer has verified that the key has not been used, and has blocked port 22 to all EC2 instances while developing a response plan.
How can the Security Engineer further protect currently running instances?
Engineer has verified that the key has not been used, and has blocked port 22 to all EC2 instances while developing a response plan.
How can the Security Engineer further protect currently running instances?
- ADelete the key-pair key from the EC2 console, then create a new key pair.
- BUse the modify-instance-attribute API to change the key on any EC2 instance that is using the key.
- CUse the EC2 RunCommand to modify the authorized_keys file on any EC2 instance that is using the key.Most Voted
- DUpdate the key pair in any AMI used to launch the EC2 instances, then restart the EC2 instances.
Correct Answer:
C
Reference:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#delete-key-pair
C
Reference:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html#delete-key-pair
send
light_mode
delete
Question #44
An organization has tens of applications deployed on thousands of Amazon EC2 instances. During testing, the Application team needs information to let them know whether the network access control lists (network ACLs) and security groups are working as expected.
How can the Application team's requirements be met?
How can the Application team's requirements be met?
- ATurn on VPC Flow Logs, send the logs to Amazon S3, and use Amazon Athena to query the logs.Most Voted
- BInstall an Amazon Inspector agent on each EC2 instance, send the logs to Amazon S3, and use Amazon EMR to query the logs.
- CCreate an AWS Config rule for each network ACL and security group configuration, send the logs to Amazon S3, and use Amazon Athena to query the logs.
- DTurn on AWS CloudTrail, send the trails to Amazon S3, and use AWS Lambda to query the trails.
Correct Answer:
A
Reference:
https://aws.amazon.com/blogs/aws/vpc-flow-logs-log-and-view-network-traffic-flows/
A
Reference:
https://aws.amazon.com/blogs/aws/vpc-flow-logs-log-and-view-network-traffic-flows/
send
light_mode
delete
Question #45
An application outputs logs to a text file. The logs must be continuously monitored for security incidents.
Which design will meet the requirements with MINIMUM effort?
Which design will meet the requirements with MINIMUM effort?
- ACreate a scheduled process to copy the component's logs into Amazon S3. Use S3 events to trigger a Lambda function that updates Amazon CloudWatch metrics with the log data. Set up CloudWatch alerts based on the metrics.
- BInstall and configure the Amazon CloudWatch Logs agent on the application's EC2 instance. Create a CloudWatch metric filter to monitor the application logs. Set up CloudWatch alerts based on the metrics.Most Voted
- CCreate a scheduled process to copy the application log files to AWS CloudTrail. Use S3 events to trigger Lambda functions that update CloudWatch metrics with the log data. Set up CloudWatch alerts based on the metrics.
- DCreate a file watcher that copies data to Amazon Kinesis when the application writes to the log file. Have Kinesis trigger a Lambda function to update Amazon CloudWatch metrics with the log data. Set up CloudWatch alerts based on the metrics.
Correct Answer:
A
A
send
light_mode
delete
Question #46
The Security Engineer for a mobile game has to implement a method to authenticate users so that they can save their progress. Because most of the users are part of the same OpenID-Connect compatible social media website, the Security Engineer would like to use that as the identity provider.
Which solution is the SIMPLEST way to allow the authentication of users using their social media identities?
Which solution is the SIMPLEST way to allow the authentication of users using their social media identities?
- AAmazon CognitoMost Voted
- BAssumeRoleWithWebIdentity API
- CAmazon Cloud Directory
- DActive Directory (AD) Connector
Correct Answer:
A
Reference:
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-provider.html
A
Reference:
https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-identity-provider.html
send
light_mode
delete
Question #47
A Software Engineer is trying to figure out why network connectivity to an Amazon EC2 instance does not appear to be working correctly. Its security group allows inbound HTTP traffic from 0.0.0.0/0, and the outbound rules have not been modified from the default. A custom network ACL associated with its subnet allows inbound HTTP traffic from 0.0.0.0/0 and has no outbound rules.
What would resolve the connectivity issue?
What would resolve the connectivity issue?
- AThe outbound rules on the security group do not allow the response to be sent to the client on the ephemeral port range.
- BThe outbound rules on the security group do not allow the response to be sent to the client on the HTTP port.
- CAn outbound rule must be added to the network ACL to allow the response to be sent to the client on the ephemeral port range.Most Voted
- DAn outbound rule must be added to the network ACL to allow the response to be sent to the client on the HTTP port.
Correct Answer:
C
Reference:
https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/
C
Reference:
https://aws.amazon.com/premiumsupport/knowledge-center/connect-http-https-ec2/
send
light_mode
delete
Question #48
A Security Engineer has been asked to create an automated process to disable IAM user access keys that are more than three months old.
Which of the following options should the Security Engineer use?
Which of the following options should the Security Engineer use?
- AIn the AWS Console, choose the IAM service and select ג€Usersג€. Review the ג€Access Key Ageג€ column.
- BDefine an IAM policy that denies access if the key age is more than three months and apply to all users.
- CWrite a script that uses the GenerateCredentialReport, GetCredentialReport, and UpdateAccessKey APIs.
- DCreate an Amazon CloudWatch alarm to detect aged access keys and use an AWS Lambda function to disable the keys older than 90 days.Most Voted
Correct Answer:
A
Reference:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
A
Reference:
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html
send
light_mode
delete
Question #49
The InfoSec team has mandated that in the future only approved Amazon Machine Images (AMIs) can be used.
How can the InfoSec team ensure compliance with this mandate?
How can the InfoSec team ensure compliance with this mandate?
- ATerminate all Amazon EC2 instances and relaunch them with approved AMIs.
- BPatch all running instances by using AWS Systems Manager.
- CDeploy AWS Config rules and check all running instances for compliance.Most Voted
- DDefine a metric filter in Amazon CloudWatch Logs to verify compliance.
Correct Answer:
C
C
send
light_mode
delete
Question #50
A pharmaceutical company has digitized versions of historical prescriptions stored on premises. The company would like to move these prescriptions to AWS and perform analytics on the data in them. Any operation with this data requires that the data be encrypted in transit and at rest.
Which application flow would meet the data protection requirements on AWS?
Which application flow would meet the data protection requirements on AWS?
- ADigitized files -> Amazon Kinesis Data Analytics
- BDigitized files -> Amazon Kinesis Data Firehose -> Amazon S3 -> Amazon AthenaMost Voted
- CDigitized files -> Amazon Kinesis Data Streams -> Kinesis Client Library consumer -> Amazon S3 -> Athena
- DDigitized files -> Amazon Kinesis Data Firehose -> Amazon Elasticsearch
Correct Answer:
A
A
send
light_mode
delete
All Pages