Curated

Security and Compliance 1 (2.1–2.3)

0 votes

Questions76

  1. Question 51

    Security and Compliance

    An AWS service is listed as in scope for AWS's SOC reports. A company must use it to process cardholder data. What should the company conclude?

    Show the answer

    Correct answerB. It must confirm the service is in scope for PCI DSS, because scope is set per program.

    AWhy not this: Encryption is a customer control; it does not put a service in scope for a program.

    BWhy this is right: Service scope is determined per compliance program, so PCI DSS scope must be confirmed separately.

    CWhy not this: Compliance scope is assessed per service and program, not per Region.

    DWhy not this: SOC and PCI DSS are separate programs; one does not imply the other.

    Each AWS service is assessed separately for each compliance program, so SOC scope says nothing certain about PCI DSS. Encryption is a customer control and does not change whether AWS has the service in a program's scope.

    Open this question
  2. Question 52

    Security and Compliance

    A security review discovers an unused access key belonging to the AWS account root user. What should the administrator do to best protect the account?

    Show the answer

    Correct answerB. Delete the key without creating a replacement

    AWhy not this: Permissions policies cannot be attached to access keys to restrict root permissions.

    BWhy this is right: Deleting the key removes unnecessary programmatic access with root credentials.

    CWhy not this: Secure storage does not remove the risk of an unnecessary root access key.

    DWhy not this: Rotation retains an unnecessary root credential rather than eliminating it.

    AWS recommends not having root user access keys. Deleting the unused key removes that access path; rotating or storing it securely still leaves an unnecessary root credential.

    Open this question
  3. Question 53

    Security and Compliance

    A company is distinguishing workload identities from workforce identities in AWS. Which examples represent workload identities? (Choose two.)

    Choose 2 answers

    Show the answer

    Correct answersA. An IAM role assumed by an Amazon EC2 instanceB. An IAM execution role assumed by an AWS Lambda function

    AWhy this is right: The role represents a running compute workload accessing AWS resources.

    BWhy this is right: The execution role represents a software function accessing AWS resources.

    CWhy not this: An IAM user assigned to a human administrator represents a workforce identity.

    DWhy not this: An employee is part of the workforce, even when authentication is federated.

    Workload identities represent applications, services, or other software, such as EC2 instances and Lambda functions using roles. Employee identities are workforce identities, whether federated or created as IAM users.

    Open this question
  4. Question 54

    Security and Compliance

    Which practice best protects the AWS account root user during routine administration?

    Show the answer

    Correct answerD. Use a separate IAM identity for daily tasks

    AWhy not this: Using root for routine activity unnecessarily exposes unrestricted account access.

    BWhy not this: An open root session creates an unnecessary opportunity for unauthorized access.

    CWhy not this: Sharing root credentials increases exposure and prevents individual accountability.

    DWhy this is right: A separate IAM identity avoids exposing root credentials during routine work.

    Use a separate IAM identity with appropriate permissions for daily work, reserving root access for tasks that require it. Routine root use unnecessarily exposes highly privileged credentials.

    Open this question
  5. Question 55

    Security and Compliance

    Employees must access AWS using an existing SAML identity provider without creating IAM users or issuing long-term AWS credentials. Which approach meets these requirements?

    Show the answer

    Correct answerD. Federate the identity provider with AWS using IAM roles

    AWhy not this: IAM groups organize IAM users; they do not authenticate external identities.

    BWhy not this: Shared access keys are long-term credentials and do not provide individual federated sessions.

    CWhy not this: Matching passwords still requires IAM users and separate credential management.

    DWhy this is right: SAML federation uses existing identities and role-based temporary credentials without creating IAM users.

    SAML federation allows externally authenticated employees to assume IAM roles and obtain temporary AWS credentials without IAM users. Matching IAM passwords still creates separate AWS identities and long-term credentials.

    Open this question
  6. Question 56

    Security and Compliance

    An administrator strengthens the IAM account password policy, but a review finds that the root user's password still fails the company's standards. What should the company do?

    Show the answer

    Correct answerD. Change the root password separately to meet company standards

    AWhy not this: An IAM user policy cannot enforce a password reset for the root user.

    BWhy not this: The root user cannot be added to an IAM user group.

    CWhy not this: Managed policies cannot be attached to the root user or enforce password complexity.

    DWhy this is right: The root password is managed separately from the password policy for IAM users.

    The IAM account password policy applies to IAM users, not the root user, so the root password must be managed separately. IAM permissions policies control authorization rather than password complexity.

    Open this question
  7. Question 57

    Security and Compliance

    A company requires files to be encrypted before they leave its application, with decryption keys kept outside AWS. Which approach BEST meets these requirements?

    Show the answer

    Correct answerD. Client-side encryption using externally held keys

    AWhy not this: S3-managed encryption protects stored objects, but S3 encrypts them after receiving their contents.

    BWhy not this: HTTPS protects the connection, but server-side encryption does not encrypt files within the application before upload.

    CWhy not this: External key storage changes where key material resides, not where server-side encryption occurs.

    DWhy this is right: The application encrypts files before transmission and can retain the decryption keys entirely outside AWS.

    Client-side encryption encrypts files before upload and can keep decryption keys outside AWS. Server-side encryption with externally stored key material still performs encryption after Amazon S3 receives the data, so it does not meet the timing requirement.

    Open this question
  8. Question 58

    Security and Compliance

    What does an AWS compliance certification establish?

    Show the answer

    Correct answerA. AWS controls meet the certification's defined scope

    AWhy this is right: Certifications assess AWS controls against a standard within a specified scope of services and operations.

    BWhy not this: Customers must assess and demonstrate compliance for their own applications; certification is not automatically inherited.

    CWhy not this: Customers retain compliance responsibilities for their data, applications, and use of AWS services.

    DWhy not this: AWS certification does not validate each customer's resource configurations.

    An AWS compliance certification establishes that AWS controls within its defined scope meet the relevant standard. Customer applications do not automatically inherit certification; customers must assess their own workloads and responsibilities.

    Open this question
  9. Question 59

    Security and Compliance

    A security analyst needs records of accepted and rejected IP traffic for an Amazon EC2 instance's network interface. Which logging feature should the analyst enable?

    Show the answer

    Correct answerC. Amazon VPC Flow Logs

    AWhy not this: CloudTrail records account activity and API calls rather than accepted and rejected network traffic flows.

    BWhy not this: S3 server access logs describe requests to an S3 bucket, not traffic at an EC2 network interface.

    CWhy this is right: VPC Flow Logs record network flow metadata, including ACCEPT or REJECT actions, for network interfaces.

    DWhy not this: Resolver query logs record DNS queries and responses rather than general IP traffic acceptance or rejection.

    VPC Flow Logs capture metadata about IP traffic to and from network interfaces, including whether traffic was accepted or rejected. CloudTrail records AWS account activity and API calls, not network traffic flows.

    Open this question
  10. Question 60

    Security and Compliance

    A company is adopting AWS IAM Identity Center but has no existing identity provider or directory. Where can it create workforce users and groups without deploying a separate directory?

    Show the answer

    Correct answerC. The built-in IAM Identity Center directory

    AWhy not this: AWS Managed Microsoft AD requires a separate directory, which the company wants to avoid.

    BWhy not this: Cognito user pools provide application user identities rather than an IAM Identity Center workforce directory.

    CWhy this is right: The built-in directory supports workforce users and groups without a separate identity provider.

    DWhy not this: IAM user groups organize IAM users; they do not serve as IAM Identity Center identity sources.

    IAM Identity Center provides a built-in directory for creating and managing workforce users and groups. An IAM user group organizes IAM users but is not an IAM Identity Center identity source.

    Open this question
  11. Question 61

    Security and Compliance

    A contractor needs to read one S3 prefix and upload reports to another for a week, without deleting objects. Which access arrangement BEST follows least privilege?

    Show the answer

    Correct answerB. Allow reads from the source and uploads to the destination, and remove access after one week.

    AWhy not this: Each prefix receives an unnecessary permission: source uploads and destination reads.

    BWhy this is right: The allowed actions, resource scope, and duration match the contractor's stated needs.

    CWhy not this: Bucket-wide access exposes objects outside the required prefixes.

    DWhy not this: Retaining access after the engagement exceeds the period for which it is needed.

    Least privilege limits actions, resources, and access duration to the work required. Allowing reads and uploads to both prefixes grants unnecessary actions even though the resource scope and duration are limited.

    Open this question
  12. Question 62

    Security and Compliance

    Why is protecting the AWS account root user especially important?

    Show the answer

    Correct answerC. It has full access to the account's AWS resources.

    AWhy not this: Workforce credentials are managed by their identity source, not stored by the root user.

    BWhy not this: AWS evaluates role requests against applicable policies without root-user approval.

    CWhy this is right: The root user's extensive access makes protecting its credentials especially important.

    DWhy not this: IAM users have separate credentials; their passwords do not belong to the root user.

    The root user has full access to the account's AWS services and resources, making compromise especially serious. IAM users have their own credentials; the root user does not own their passwords.

    Open this question
  13. Question 63

    Security and Compliance

    A company moves a regulated database from Amazon EC2 to Amazon RDS. What should it do with its existing compliance control checklist?

    Show the answer

    Correct answerB. Reassess controls against RDS responsibilities and features

    AWhy not this: The same Region does not mean different AWS services require identical customer controls.

    BWhy this is right: Changing services changes available features and the division of responsibilities, so the applicable controls need review.

    CWhy not this: Database permissions are only part of compliance; configuration, encryption, logging, and other controls may still apply.

    DWhy not this: AWS compliance reports provide evidence about AWS controls but do not replace customer technical controls.

    Compliance controls must reflect the responsibilities and capabilities of the service being used. Staying in the same Region does not make an EC2 control checklist sufficient for Amazon RDS.

    Open this question
  14. Question 64

    Security and Compliance

    Which option protects data while it travels between a user's web browser and an Application Load Balancer?

    Show the answer

    Correct answerB. TLS encryption

    AWhy not this: Client-side encryption protects data before an application stores or sends it; a browser talking to a load balancer relies on TLS for that connection.

    BWhy this is right: TLS on an HTTPS listener encrypts the traffic between the browser and the load balancer, which is encryption in transit.

    CWhy not this: SSE-S3 encrypts objects at rest after Amazon S3 receives them, not traffic to a load balancer.

    DWhy not this: EBS encryption protects data at rest on block storage volumes, not traffic on the network.

    TLS encrypts data in transit. An Application Load Balancer with an HTTPS listener and a certificate, for example from AWS Certificate Manager, uses TLS to protect traffic from the browser. SSE-S3 and EBS encryption protect data at rest.

    Open this question
  15. Question 65

    Security and Compliance

    A retailer is adding payment card processing to its AWS application. Which compliance standard should it assess specifically because it will handle cardholder data?

    Show the answer

    Correct answerC. PCI DSS

    AWhy not this: HIPAA concerns protected health information, not payment card data specifically.

    BWhy not this: ISO 27001 addresses information security management systems, rather than cardholder data specifically.

    CWhy this is right: PCI DSS applies to entities that store, process, or transmit cardholder data.

    DWhy not this: SOC 2 reports address controls relevant to trust services criteria, rather than payment card requirements specifically.

    PCI DSS establishes security requirements for handling payment card data. ISO 27001 addresses information security management broadly, rather than payment card processing specifically.

    Open this question
  16. Question 66

    Security and Compliance

    A security team is reviewing an IAM role with broad permissions and needs a summary of when it last accessed each AWS service. Which feature best supports this review?

    Show the answer

    Correct answerC. IAM Access Advisor

    AWhy not this: An AWS Config resource timeline shows configuration changes, not a role's last access to each service.

    BWhy not this: A CloudWatch dashboard displays selected metrics and widgets, not the IAM service last accessed report.

    CWhy this is right: IAM Access Advisor shows service last accessed information that helps identify permissions to review.

    DWhy not this: An IAM credential report lists users and credential status, not a role's last access to services.

    IAM Access Advisor provides service last accessed information to support permissions reviews. An IAM credential report describes users' credentials, not a role's service access history.

    Open this question
  17. Question 67

    Security and Compliance

    Which AWS service lets customers review and accept AWS compliance agreements?

    Show the answer

    Correct answerD. AWS Artifact

    AWhy not this: AWS Config records resource configurations and evaluates them against rules, rather than managing agreements.

    BWhy not this: AWS CloudTrail records account activity rather than providing agreements for acceptance.

    CWhy not this: AWS IAM manages access to AWS resources rather than AWS compliance agreements.

    DWhy this is right: AWS Artifact provides compliance agreements for customers to review and accept.

    AWS Artifact provides access to AWS compliance agreements that customers can review and accept. AWS Config evaluates resource configurations; it does not manage compliance agreements.

    Open this question
  18. Question 68

    Security and Compliance

    Who is responsible for deciding which AWS resources an employee may access?

    Show the answer

    Correct answerA. The customer's identity administrators

    AWhy this is right: Customer identity administrators assign permissions according to the organization's access requirements.

    BWhy not this: Infrastructure operations personnel maintain AWS infrastructure rather than assign customer employee permissions.

    CWhy not this: Service development personnel build AWS services rather than determine customer access policies.

    DWhy not this: Data center security personnel control physical facility access, not employee permissions in customer accounts.

    Customers manage identities and permissions for access to resources in their accounts. AWS infrastructure operations personnel secure the underlying infrastructure, not the customer's employee access policies.

    Open this question
  19. Question 69

    Security and Compliance

    An auditor asks a customer for evidence that a shared control is implemented. The customer provides only AWS documentation about the AWS portion. What additional evidence is needed?

    Show the answer

    Correct answerC. Evidence of the customer's implementation within its scope

    AWhy not this: AWS does not need to approve each customer setting for the customer to demonstrate control implementation.

    BWhy not this: Shared controls do not transfer the customer's control duties to AWS.

    CWhy this is right: The customer must demonstrate that it implemented the portion of the shared control within its responsibility.

    DWhy not this: Customers do not implement shared controls by inspecting AWS facilities.

    Shared controls have separate AWS and customer implementations, so the customer must demonstrate its own portion. AWS documentation supports the AWS portion but does not establish that the customer implemented its responsibilities.

    Open this question
  20. Question 70

    Security and Compliance

    An auditor reviews temperature and humidity controls in AWS data centers. The customer relies on AWS to operate these controls without implementing a corresponding data center control. How are these controls classified?

    Show the answer

    Correct answerA. Inherited controls

    AWhy this is right: Customers inherit AWS data center environmental controls without operating corresponding controls for those facilities.

    BWhy not this: Customer-specific controls are the customer's responsibility, not AWS data center environmental operations.

    CWhy not this: Application-level controls protect customer applications rather than regulate data center environmental conditions.

    DWhy not this: Shared controls require implementation by both parties within their respective areas, rather than reliance solely on AWS.

    Inherited controls are controls customers fully inherit from AWS, including physical and environmental controls. Shared controls instead require AWS and customers to implement controls within their respective areas.

    Open this question
  21. Question 71

    Security and Compliance

    A company moves a Python application from Amazon EC2 to AWS Lambda using a supported managed runtime with automatic runtime updates. How is patching responsibility divided after the move?

    Show the answer

    Correct answerB. AWS patches the runtime; the customer patches application dependencies.

    AWhy not this: This reverses the responsibility split: AWS maintains the managed runtime, not customer-packaged dependencies.

    BWhy this is right: AWS updates the managed runtime, while the customer maintains dependencies included with its application.

    CWhy not this: Lambda does not transfer maintenance of customer-packaged dependencies to AWS.

    DWhy not this: The customer does not patch the AWS-managed Lambda runtime when automatic runtime updates are enabled.

    For a Lambda managed runtime with automatic updates, AWS maintains the runtime. The customer remains responsible for its application code and packaged dependencies; those dependencies do not become AWS-managed merely because the application uses Lambda.

    Open this question
  22. Question 72

    Security and Compliance

    A company runs its database on Amazon RDS. Under the AWS shared responsibility model, which task is the company's responsibility?

    Show the answer

    Correct answerB. Configuring the security group rules that allow access to the DB instance

    AWhy not this: AWS patches the operating system of an RDS DB instance because RDS is a managed service.

    BWhy this is right: Network access to the DB instance is a customer setting, so the company writes and maintains its security group rules.

    CWhy not this: AWS owns and maintains the physical hardware that RDS runs on, including failed disks.

    DWhy not this: AWS installs and manages the database engine software when it creates an RDS DB instance.

    With Amazon RDS, AWS manages the host, the operating system, the database engine installation and the hardware. The customer controls who can reach the database, including the security group rules attached to the DB instance.

    Open this question
  23. Question 73

    Security and Compliance

    A company needs to change the root user's email address for its standalone AWS account. Which identity must perform this task?

    Show the answer

    Correct answerB. The AWS account root user

    AWhy not this: Billing permissions do not authorize changes to the account's root email address.

    BWhy this is right: The root user can change the root email address for a standalone AWS account.

    CWhy not this: AdministratorAccess does not authorize tasks reserved for the account root user.

    DWhy not this: IAMFullAccess manages IAM resources, not the root user's email address.

    Changing the root user's email address in a standalone AWS account requires the account root user. AdministratorAccess grants broad permissions but does not grant access to root-user-only tasks.

    Open this question
  24. Question 74

    Security and Compliance

    Which identity is created directly in an AWS account to represent a person and can have its own console password?

    Show the answer

    Correct answerC. An IAM user

    AWhy not this: An IAM role is assumed and does not have its own console password.

    BWhy not this: Federated identities authenticate through an identity provider rather than an individually assigned IAM user password.

    CWhy this is right: An IAM user is created in an AWS account and can be assigned a console password.

    DWhy not this: An IAM user group collects users for permission management and cannot sign in.

    An IAM user is an identity created within an AWS account and can have its own console password. A federated identity authenticates through an identity provider rather than using its own IAM user password.

    Open this question
  25. Question 75

    Security and Compliance

    Which statements correctly describe IAM policies used to grant permissions? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. Customers control the permissions in customer managed policies.B. A managed policy can be attached to multiple IAM identities.E. AWS maintains and updates AWS managed policies.

    AWhy this is right: Customers create and maintain customer managed policies to define permissions for their requirements.

    BWhy this is right: A managed policy is a standalone permissions policy that can be attached to multiple users, groups, or roles.

    CWhy not this: An inline policy is embedded in a single user, group, or role rather than shared as one reusable policy.

    DWhy not this: Customers can attach AWS managed policies but cannot modify their contents.

    EWhy this is right: AWS creates and maintains AWS managed policies, including updates to their permissions.

    Managed policies are reusable; AWS maintains AWS managed policies, while customers control customer managed policies. Inline policies belong to a single identity, and customers cannot edit AWS managed policies.

    Open this question
  26. Question 76

    Security and Compliance

    An IAM user needs to assume a role in another AWS account. The role's trust policy permits the user, but the user's policies grant no role-assumption permission. What additional configuration is required?

    Show the answer

    Correct answerA. Grant the user permission to assume the target role

    AWhy this is right: The source user's permissions must allow assumption of the target role, in addition to the target role's trust.

    BWhy not this: IAM groups contain users from their own account; group membership does not establish cross-account role access.

    CWhy not this: Password policies govern IAM user passwords, not permission to assume a cross-account role.

    DWhy not this: Root access keys are unnecessary and would not grant this IAM user permission to assume the role.

    Cross-account role assumption requires the target role to trust the caller and the caller to have permission to assume that role. IAM groups cannot contain users from another account and do not replace these permissions.

    Open this question