Amazon Web ServicesExpert levelSCS-C02Page 4 of 6

SCS-C02 exam dumps: questions 301 to 400 of 503

Page 4 of the free SCS-C02 question bank for the AWS Certified Security - Specialty exam. Questions 301 to 400 are listed below, the first 5 in full with answers and explanations. Back to page 1 for the exam overview and FAQ.

Question bank last updated December 2024

Free SCS-C02 practice questions

Questions 301 to 305 of 503

Pick an answer before you open the explanation. Each question also has its own page with a permalink.

SCS-C02 Question 301

Single answer

A company is using AWS Organizations with Service Control Policies (SCPs) applied to Organizational Units (OUs). An IAM user in a member account is trying to launch an EC2 instance using a specific instance type but is unable to do so. Which of the following steps would best help resolve the issue?

  1. A

    Check the IAM user's inline and managed policies to ensure they allow EC2 instance launches for the required instance type.

  2. B

    Verify that the Service Control Policy (SCP) attached to the OU allows EC2 instance launches for the required instance type.

  3. C

    Modify the EC2 service quota in the AWS account to allow the required instance type to be used.

  4. D

    Add the 'AdministratorAccess' policy to the IAM user to override the SCP restrictions.

Show answer and explanation

Correct answer: B

Explanation

In AWS Organizations, SCPs are used to restrict or allow permissions across accounts in an OU. If an action is being blocked, it is critical to verify whether the SCP applied to the account or OU is denying the action, even if the IAM permissions for the user seem correct. IAM policies cannot override SCP restrictions, and service quotas are unrelated to permissions management.

  • A. Incorrect.

    This step is important to ensure the IAM user has the necessary permissions, but SCPs applied at the OU level can still block actions even if the IAM user has the correct permissions defined in their policies. Therefore, this may not resolve the issue if the SCP is restrictive.

  • B. Correct.

    SCPs define the maximum set of permissions allowed for accounts within an OU. If the SCP denies the action, even with proper IAM permissions, the action will still be blocked. Verifying and potentially updating the SCP is the correct approach in this scenario.

  • C. Incorrect.

    Service quotas are separate from permission management and are used to control resource limits in AWS. An EC2 service quota would not block permissions for launching a specific instance type.

  • D. Incorrect.

    SCPs cannot be overridden by IAM policies, even with 'AdministratorAccess.' SCPs define the maximum permissions, and actions denied by SCPs cannot be performed, regardless of IAM permissions.

SCS-C02 Question 302

Single answer

An organization has an internal application running on an Amazon EC2 instance within a private subnet. The application needs to read data from an Amazon S3 bucket in the same AWS account. A security engineer has been tasked with designing an authorization mechanism that ensures least privilege and does not require hardcoding credentials into the application code. How should the security engineer achieve this?

  1. A

    Attach an AmazonS3FullAccess policy to the EC2 instance's IAM role.

  2. B

    Create an IAM role with an Amazon S3 read-only policy and attach it to the EC2 instance.

  3. C

    Generate an IAM user with programmatic access keys and store the keys in the application code.

  4. D

    Create a bucket policy on the S3 bucket to allow access only from the EC2 instance's private IP address.

Show answer and explanation

Correct answer: B

Explanation

The most secure and recommended way to authorize an EC2 instance to access an S3 bucket is by attaching an IAM role to the instance. The role should have a policy that grants the minimal permissions necessary, such as read-only access to the bucket. This avoids the risks of hardcoding credentials and ensures compliance with the principle of least privilege.

  • A. Incorrect.

    This option grants excessive permissions (full access) to the S3 bucket, violating the principle of least privilege. It is not the best practice for securing AWS resources.

  • B. Correct.

    This option follows the principle of least privilege by granting only the necessary permissions (read-only access) and is the recommended approach for authorizing an EC2 instance to access an S3 bucket without hardcoding credentials.

  • C. Incorrect.

    This option involves hardcoding credentials into the application code, which is a security risk and violates AWS best practices.

  • D. Incorrect.

    While restricting access by IP address can provide some security, this approach does not work for private EC2 instances because S3 bucket policies do not support direct IP-based restrictions for private IPs assigned to EC2 instances.

SCS-C02 Question 303

Single answer

Your organization uses an S3 bucket to store sensitive financial reports. To enhance security, you are tasked with ensuring that only users in the 'FinanceTeam' IAM group can access this bucket, and all access must be logged. After creating a bucket policy, you find that some users outside of the 'FinanceTeam' group are still able to access the bucket. What is the most likely reason for this issue?

  1. A

    There is an IAM policy attached to users outside the 'FinanceTeam' group that grants access to the bucket.

  2. B

    The bucket policy is missing a condition to restrict access to the 'FinanceTeam' group.

  3. C

    The S3 bucket does not have logging enabled, which is preventing restriction enforcement.

  4. D

    The bucket is publicly accessible due to an S3 Block Public Access setting being disabled.

Show answer and explanation

Correct answer: A

Explanation

IAM policies and bucket policies are complementary, and permissions are evaluated based on the combination of both. If users have IAM policies attached to them that grant access to the S3 bucket, those permissions will apply even if the bucket policy restricts access to the 'FinanceTeam' group. To fix the issue, analyze and adjust IAM policies to ensure only the intended users have access.

  • A. Correct.

    Correct. If an IAM policy is attached to users outside the 'FinanceTeam' group that grants access to the bucket, it will override or complement the bucket policy, potentially allowing unintended access.

  • B. Incorrect.

    Incorrect. A bucket policy condition can help refine access but is not required to restrict access to a specific IAM group. The issue is more likely related to IAM policies granting access elsewhere.

  • C. Incorrect.

    Incorrect. Logging does not enforce access control; it is used for auditing and monitoring. The absence of logging would not cause unauthorized access.

  • D. Incorrect.

    Incorrect. While a disabled Block Public Access setting could make a bucket publicly accessible, the scenario specifies that access is limited to some users outside the designated group, not the entire public.

SCS-C02 Question 304

Single answer

A company stores sensitive customer data in an Amazon S3 bucket. To comply with regulatory requirements, the company must ensure that all objects uploaded to the bucket are encrypted. Additionally, they want to minimize the risk of misconfigured encryption settings by developers. What is the most secure way to enforce this requirement?

  1. A

    Use an S3 bucket policy that denies any PutObject request without server-side encryption enabled.

  2. B

    Enable default encryption on the S3 bucket with SSE-S3.

  3. C

    Use AWS Key Management Service (KMS) and require client-side encryption for all objects uploaded to the bucket.

  4. D

    Enable S3 Object Lock in Governance mode and configure a retention period.

Show answer and explanation

Correct answer: A

Explanation

To enforce encryption for all objects uploaded to an S3 bucket and minimize the risk of misconfigurations, using an S3 bucket policy to deny PutObject requests without server-side encryption is the most secure and reliable method. This ensures compliance with regulatory requirements and provides centralized control over encryption settings.

  • A. Correct.

    This is the most secure and effective approach. An S3 bucket policy denying PutObject requests without server-side encryption ensures that all objects are encrypted and prevents developers from bypassing encryption requirements.

  • B. Incorrect.

    While enabling default encryption with SSE-S3 ensures all objects are encrypted, it doesn't prevent developers from misconfiguring encryption settings during uploads. A bucket policy provides additional enforcement.

  • C. Incorrect.

    Requiring client-side encryption ensures encryption but relies on developers to implement it correctly. It also adds complexity for managing encryption keys and processes.

  • D. Incorrect.

    S3 Object Lock in Governance mode is used for write-once-read-many (WORM) compliance and data retention, but it does not enforce encryption requirements for uploaded objects.

SCS-C02 Question 305

Select 2

You are a Security Engineer at a company that uses an S3 bucket to store sensitive customer data. You have been asked to ensure that the bucket cannot be accidentally made public by anyone in the organization. What steps should you take to achieve this?

  1. A

    Enable S3 Block Public Access at the bucket level.

  2. B

    Attach an IAM policy to all users that denies the ability to modify bucket permissions.

  3. C

    Enable S3 Block Public Access at the account level.

  4. D

    Use an S3 bucket policy to explicitly deny public access.

  5. E

    Enable AWS Config rules to monitor bucket ACL changes.

Show answer and explanation

Correct answers: A, C

Explanation

The most effective way to ensure an S3 bucket cannot be accidentally made public is to use S3 Block Public Access, as it automatically prevents public access regardless of bucket policies or ACLs. Enabling it at the bucket level addresses the specific bucket, while enabling it at the account level provides comprehensive protection across all buckets. Other options, such as IAM policies or AWS Config rules, are supplementary and either not as robust or do not directly block public access.

  • A. Correct.

    Enabling S3 Block Public Access at the bucket level ensures that public access to the specific S3 bucket is blocked, regardless of bucket policies or ACLs. This is an appropriate and effective method to prevent accidental public exposure of sensitive data.

  • B. Incorrect.

    Attaching an IAM policy to users denying permission to modify bucket permissions is not a scalable or practical solution, as it may interfere with legitimate administrative tasks and does not directly address the issue of blocking public access.

  • C. Correct.

    Enabling S3 Block Public Access at the account level ensures that no S3 bucket in the entire AWS account can be made public, which is a stronger and more comprehensive approach to prevent accidental public exposure.

  • D. Incorrect.

    Using an S3 bucket policy to explicitly deny public access could work, but it is less flexible and not as robust as using S3 Block Public Access, which is specifically designed for this purpose.

  • E. Incorrect.

    Enabling AWS Config rules to monitor bucket ACL changes is useful for detecting configuration changes, but it does not actively prevent the bucket from being made public.

Timed practice exam

Take a SCS-C02 practice test under exam conditions

65 questions in 170 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam

SCS-C02 practice questions 301 to 400 of 503

Every question has a page with the answer and explanation. Numbers are stable, so you can bookmark or share them. The bank is split into 6 pages of up to 100 questions.

  1. 301.A company is using AWS Organizations with Service Control Policies (SCPs) applied to Organizational Units...
  2. 302.An organization has an internal application running on an Amazon EC2 instance within a private subnet. The...
  3. 303.Your organization uses an S3 bucket to store sensitive financial reports. To enhance security, you are tasked...
  4. 304.A company stores sensitive customer data in an Amazon S3 bucket. To comply with regulatory requirements, the...
  5. 305.You are a Security Engineer at a company that uses an S3 bucket to store sensitive customer data. You have...
  6. 306.A company is running critical workloads on Amazon EC2 instances within a VPC. The company requires that all...
  7. 307.Your company runs an application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB)....
  8. 308.Your company has recently implemented an S3 bucket to store financial reports. These reports must only be...
  9. 309.Your organization uses AWS and has implemented an S3 bucket to store sensitive data. The security team wants...
  10. 310.Your organization is designing an access control strategy for an S3 bucket that stores sensitive financial...
  11. 311.An organization has several S3 buckets containing sensitive data. The security team wants to ensure that only...
  12. 312.An organization has created an IAM policy to grant specific permissions to a group of developers. The policy...
  13. 313.An organization is using an S3 bucket to store sensitive financial documents. The following bucket policy has...
  14. 314.An organization is using an S3 bucket to store sensitive customer data. They need to implement a bucket...
  15. 315.An organization wants to grant an IAM user the ability to start and stop EC2 instances, but only in a...
  16. 316.An application hosted on an EC2 instance is receiving 'Access Denied' errors when attempting to access an S3...
  17. 317.An application running on an EC2 instance is unable to access an S3 bucket, despite an IAM role being...
  18. 318.A company has an application running on an Amazon EC2 instance that needs access to an Amazon S3 bucket. The...
  19. 319.A developer is unable to access an Amazon S3 bucket despite having a policy attached to their IAM role that...
  20. 320.An organization needs to ensure that sensitive customer data stored in Amazon S3 is protected from...
  21. 321.Your organization stores sensitive customer data in an Amazon S3 bucket. To comply with internal security...
  22. 322.Your organization stores sensitive financial data in an Amazon S3 bucket. To comply with regulatory...
  23. 323.An organization uses Amazon S3 to store sensitive customer data. The security team wants to ensure that all...
  24. 324.Your organization needs to securely transmit sensitive customer data between its e-commerce application...
  25. 325.An organization is building a financial application that manages sensitive customer data. To comply with...
  26. 326.Your company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). To...
  27. 327.Your company runs a web application on Amazon EC2 instances behind an ALB (Application Load Balancer) and...
  28. 328.You are configuring an Amazon S3 bucket to store sensitive customer data. To comply with your organization's...
  29. 329.Your company has an application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The...
  30. 330.An organization has deployed a web application on Amazon EC2 instances behind an Application Load Balancer...
  31. 331.A company stores sensitive customer data in an S3 bucket and needs to enforce strict security controls to...
  32. 332.A company hosts a web application on Amazon EC2 instances behind an Application Load Balancer (ALB). The...
  33. 333.An organization is hosting a web application on Amazon EC2 instances behind an Application Load Balancer...
  34. 334.Your company has an application running on Amazon EC2 instances behind an Application Load Balancer (ALB)....
  35. 335.An application hosted on an Amazon EC2 instance needs to communicate securely with an Amazon RDS database. As...
  36. 336.Your company is setting up a Site-to-Site VPN connection between its on-premises data center and an Amazon...
  37. 337.Your organization has recently established a hybrid cloud environment using AWS. To securely connect your...
  38. 338.Your company has established a VPN connection between its on-premises data center and an Amazon VPC using an...
  39. 339.Your company has deployed a site-to-site VPN connection between your on-premises data center and your AWS VPC...
  40. 340.A company wants to provide secure remote access to its Amazon EC2 instances for system administrators. The...
  41. 341.A company requires secure remote access to its Amazon EC2 instances without opening SSH or RDP ports to the...
  42. 342.An organization wants to provide secure remote access for their administrators to manage Amazon EC2...
  43. 343.Your company has prohibited the use of public-facing bastion hosts for connecting to EC2 instances. Instead,...
  44. 344.Your organization has deployed Amazon EC2 instances in a private subnet without public IP addresses. You need...
  45. 345.Your organization uses AWS Systems Manager Session Manager for secure shell access to Amazon EC2 instances. A...
  46. 346.Your company uses AWS Systems Manager Session Manager to connect securely to Amazon EC2 instances without...
  47. 347.Your organization has implemented AWS Systems Manager Session Manager to securely manage EC2 instances...
  48. 348.You are setting up a secure website using Amazon CloudFront as a content delivery network and an Application...
  49. 349.An organization is hosting a web application behind an Application Load Balancer (ALB) in AWS. They want to...
  50. 350.You are deploying a web application that uses HTTPS for secure communication. The application is fronted by...
  51. 351.Your organization is hosting a web application behind an Application Load Balancer (ALB) in AWS. To enhance...
  52. 352.You are designing a data storage solution for a healthcare application that must comply with HIPAA...
  53. 353.Your company is storing sensitive customer data in Amazon S3. You are tasked with ensuring the...
  54. 354.Your company stores sensitive customer data in an Amazon S3 bucket. To ensure compliance with regulatory...
  55. 355.You are designing a storage solution for sensitive financial data in Amazon S3. The data must be encrypted at...
  56. 356.An organization is using Amazon S3 to store sensitive financial data. The security team is tasked with...
  57. 357.Your organization is using Amazon S3 to store sensitive data. To ensure compliance and prevent unauthorized...
  58. 358.An organization is using AWS Key Management Service (AWS KMS) to encrypt sensitive data stored in Amazon S3....
  59. 359.Your organization leverages AWS Organizations with multiple accounts and has enabled AWS CloudTrail in the...
  60. 360.Your organization stores sensitive financial data in an Amazon S3 bucket. Compliance requirements mandate...
  61. 361.You are designing a secure file storage application on AWS where customers upload sensitive documents. The...
  62. 362.A financial services company processes sensitive customer data on Amazon S3. They want to ensure that all...
  63. 363.A company is storing sensitive customer data in Amazon S3 and needs to ensure the data is encrypted both in...
  64. 364.An organization needs to ensure the integrity of sensitive files stored in an Amazon S3 bucket. The security...
  65. 365.Your company is storing critical documents in an Amazon S3 bucket, and you need to implement a mechanism to...
  66. 366.An e-commerce company stores sensitive customer order data on Amazon S3. The security team is instructed to...
  67. 367.An organization is using Amazon S3 to store important log files that must remain unchanged to meet compliance...
  68. 368.An organization is using an Amazon S3 bucket to store sensitive financial reports. They want to ensure that...
  69. 369.You are tasked with securing an Amazon S3 bucket that stores sensitive financial reports. The bucket must...
  70. 370.Your organization uses Amazon S3 to store sensitive financial data. You are tasked with ensuring that only...
  71. 371.An organization uses an Amazon S3 bucket to store sensitive financial reports. The bucket must allow access...
  72. 372.An organization uses an IAM role to allow its EC2 instances to access an S3 bucket. Recently, some EC2...
  73. 373.An application running on Amazon EC2 instances needs to access objects stored in an S3 bucket. The EC2...
  74. 374.An organization is using an EC2 instance to run a critical application. They want the instance to securely...
  75. 375.Your organization uses an AWS Lambda function that requires access to an S3 bucket to retrieve input files...
  76. 376.Your company manages sensitive customer data stored in Amazon S3. As part of the organization's security...
  77. 377.A company stores sensitive customer data in Amazon S3. Compliance requirements mandate that the data must be...
  78. 378.Your organization needs to store sensitive customer data in Amazon S3. The compliance requirements dictate...
  79. 379.An organization is managing sensitive financial data stored in Amazon S3. They want to enforce strict...
  80. 380.An organization has deployed an application on Amazon EC2 instances in a VPC. The security team has noticed...
  81. 381.An organization uses Amazon S3 to store sensitive financial data. To comply with security and compliance...
  82. 382.Your company has deployed an application in AWS that stores sensitive customer data in an Amazon S3 bucket....
  83. 383.An organization is using AWS CloudTrail to monitor API activity in their AWS account. To enhance the security...
  84. 384.Your organization uses Amazon S3 to store log files. To optimize costs, you want to automatically transition...
  85. 385.Your company stores critical logs in an Amazon S3 bucket. These logs must be retained for seven years to meet...
  86. 386.Your company is using Amazon S3 to store confidential business data. To optimize costs and comply with data...
  87. 387.An organization wants to optimize costs by automatically transitioning and expiring objects stored in Amazon...
  88. 388.Your organization operates in a highly regulated industry and must comply with strict data retention policies...
  89. 389.Your organization operates in the healthcare industry and must comply with HIPAA regulations regarding data...
  90. 390.Your organization operates in a regulated industry and must comply with data retention standards that mandate...
  91. 391.Your organization is required to comply with government-mandated data retention standards that dictate...
  92. 392.Your company is building a serverless application on AWS that requires storing and accessing sensitive...
  93. 393.A company is building a serverless application on AWS that processes sensitive customer data. The application...
  94. 394.A company is using AWS Secrets Manager to securely store and manage their application credentials. The...
  95. 395.Your organization uses AWS Lambda to process sensitive customer data. The Lambda functions require access to...
  96. 396.An organization has deployed its web application on Amazon EC2 instances behind an Application Load Balancer...
  97. 397.An organization has recently migrated its web application to an Amazon EC2 instance. To enhance security,...
  98. 398.An organization is planning to deploy a web application on Amazon EC2 instances behind an Elastic Load...
  99. 399.An organization is using AWS to host its applications and wants to ensure that its S3 buckets are protected...
  100. 400.Your company uses AWS Secrets Manager to store database credentials. A security audit has revealed that many...