AWS Certified Security - Specialty practice questions, page 10 of 21, with answer review and explanations.
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?
Amazon Cognito
AssumeRoleWithWebIdentity API
Amazon Cloud Directory
Active Directory (AD) Connector
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?
The outbound rules on the security group do not allow the response to be sent to the client on the ephemeral port range.
The outbound rules on the security group do not allow the response to be sent to the client on the HTTP port.
An outbound rule must be added to the network ACL to allow the response to be sent to the client on the ephemeral port range.
An outbound rule must be added to the network ACL to allow the response to be sent to the client on the HTTP port.
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?
In the AWS Console, choose the IAM service and select ג€Usersג€. Review the ג€Access Key Ageג€ column.
Define an IAM policy that denies access if the key age is more than three months and apply to all users.
Write a script that uses the GenerateCredentialReport, GetCredentialReport, and UpdateAccessKey APIs.
Create an Amazon CloudWatch alarm to detect aged access keys and use an AWS Lambda function to disable the keys older than 90 days.
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?
Terminate all Amazon EC2 instances and relaunch them with approved AMIs.
Patch all running instances by using AWS Systems Manager.
Deploy AWS Config rules and check all running instances for compliance.
Define a metric filter in Amazon CloudWatch Logs to verify compliance.
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?