Amazon Web ServicesExpert levelSCS-C02Page 3 of 6

SCS-C02 exam dumps: questions 201 to 300 of 503

Page 3 of the free SCS-C02 question bank for the AWS Certified Security - Specialty exam. Questions 201 to 300 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 201 to 205 of 503

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

SCS-C02 Question 201

Select 4

You are designing a secure and scalable web application on AWS using a layered architecture. The application has a public-facing frontend, a backend API, and a database layer. To minimize exposure to potential attacks, which combination of security measures should you implement?

  1. A

    Deploy the frontend in an Amazon S3 bucket configured with static website hosting and restrict access using an Amazon CloudFront distribution.

  2. B

    Place the backend API behind an Application Load Balancer (ALB) and secure it using AWS WAF to filter malicious traffic.

  3. C

    Host the database in a public subnet with security groups allowing traffic from any source to ensure accessibility.

  4. D

    Use Amazon RDS with private subnets and enable encryption at rest and in transit.

  5. E

    Implement security group rules to allow traffic between application layers only from specific allowed sources.

Show answer and explanation

Correct answers: A, B, D, E

Explanation

A layered web application architecture on AWS should follow the principle of least privilege, minimizing exposure to potential threats and ensuring secure communication between layers. Hosting the frontend securely, restricting backend access with WAF, encrypting the database, and implementing strict security group rules are all critical measures in achieving this. Placing the database in a public subnet is a security risk and goes against best practices, making it an incorrect choice.

  • A. Correct.

    Deploying the frontend in an Amazon S3 bucket with CloudFront ensures a secure and scalable delivery mechanism, while restricting direct access to the S3 bucket reduces exposure to attacks. This is a best practice for static content hosting.

  • B. Correct.

    Placing the backend API behind an ALB and securing it with AWS WAF helps to filter and block malicious traffic such as SQL injection or cross-site scripting (XSS), improving overall application security.

  • C. Incorrect.

    Hosting the database in a public subnet with open access is a poor security practice as it exposes the database to potential attacks from the internet. Databases should always be in private subnets with restricted access.

  • D. Correct.

    Using Amazon RDS with private subnets and enabling encryption ensures that the database is not directly accessible from the internet and that data is encrypted both at rest and in transit, following security best practices.

  • E. Correct.

    Implementing security group rules to allow traffic only from specific allowed sources minimizes the attack surface between application layers, ensuring that traffic is controlled and restricted to what is necessary.

SCS-C02 Question 202

Select 3

Your organization is designing a highly secure web application architecture on AWS. The architecture consists of three layers: web servers, application servers, and database servers. To minimize attack surfaces and enhance security, which actions should be taken to ensure a layered security approach for this web application?

  1. A

    Place the web servers in a public subnet with direct internet access and restrict access to the application servers via security groups.

  2. B

    Implement Application Load Balancers (ALBs) in front of the web servers to handle incoming traffic and terminate SSL/TLS connections.

  3. C

    Deploy the application servers in a private subnet, ensuring only the web servers can communicate with them via security groups.

  4. D

    Enable database servers to accept connections directly from the internet to allow remote administration.

  5. E

    Use network ACLs and security groups together to restrict access to the database servers only from the application servers.

Show answer and explanation

Correct answers: B, C, E

Explanation

A layered security approach involves minimizing the attack surface and enforcing access controls at multiple layers of the architecture. Using an ALB for secure traffic handling, isolating the application and database servers in private subnets, and enforcing strict access controls through security groups and network ACLs are key components of a secure layered architecture. Avoid exposing resources like web servers or database servers directly to the internet unless absolutely necessary.

  • A. Incorrect.

    While restricting access to the application servers via security groups is a good practice, placing the web servers in a public subnet with direct internet access increases the attack surface. Instead, web traffic should be routed through a load balancer.

  • B. Correct.

    Using an Application Load Balancer (ALB) to handle incoming traffic and terminate SSL/TLS connections improves security by offloading encryption and ensuring secure communication with clients.

  • C. Correct.

    Deploying application servers in a private subnet and restricting access to them from only the web servers via security groups ensures that they are not directly accessible from the internet, reducing the attack surface.

  • D. Incorrect.

    Allowing database servers to accept direct connections from the internet is a major security risk. Database servers should always be isolated in private subnets with controlled access.

  • E. Correct.

    Using network ACLs and security groups together to restrict access to the database servers only from the application servers implements defense-in-depth and minimizes potential attack vectors.

SCS-C02 Question 203

Select 3

Your company operates a web application that follows a layered architecture with a public-facing Amazon CloudFront distribution, an Amazon Application Load Balancer (ALB), an Amazon EC2-based application layer, and an Amazon RDS database. A recent security review recommends improving defense-in-depth by restricting access to the application layer and protecting against potential attacks originating from the internet. What combination of steps should you take to enhance security in this architecture?

  1. A

    Configure the Application Load Balancer to only accept requests originating from the Amazon CloudFront distribution.

  2. B

    Use AWS WAF to create rules that block common web exploits and attach it to the Application Load Balancer.

  3. C

    Enable VPC Flow Logs to monitor traffic between the application layer and the database layer.

  4. D

    Restrict the security group of the Amazon EC2 instances to only allow traffic from the Application Load Balancer.

  5. E

    Enable encryption in transit for the connection between the Amazon CloudFront distribution and the Application Load Balancer.

Show answer and explanation

Correct answers: A, B, D

Explanation

To enhance security in a layered web application architecture, it is critical to restrict access to application resources and implement protections against common web-based attacks. Configuring the ALB to accept traffic only from the CloudFront distribution ensures that all requests are routed through a secure and controlled entry point. Additionally, using AWS WAF to block common vulnerabilities and restricting EC2 security groups to traffic from the ALB further enhances defense-in-depth. Monitoring traffic with VPC Flow Logs and enabling encryption are helpful but do not directly address the core security recommendations.

  • A. Correct.

    Configuring the Application Load Balancer to accept requests only from the Amazon CloudFront distribution ensures that traffic is filtered through CloudFront, which acts as a layer of protection and caching. This limits exposure to direct internet traffic.

  • B. Correct.

    Using AWS WAF to block common web exploits, such as SQL injection or cross-site scripting (XSS), adds a strong layer of protection to the application by preventing malicious traffic from reaching the application layer.

  • C. Incorrect.

    While monitoring traffic with VPC Flow Logs can help with auditing and troubleshooting, it does not directly improve security at the application layer or against external attacks.

  • D. Correct.

    Restricting the security group of the Amazon EC2 instances to only allow traffic from the Application Load Balancer ensures that the application layer only receives traffic that has been validated and routed through the ALB.

  • E. Incorrect.

    While enabling encryption in transit between CloudFront and the ALB is a good practice for protecting data, it does not directly address the recommendation to enhance defense-in-depth or restrict access to the application layer.

SCS-C02 Question 204

Select 3

Your organization has deployed a three-tier architecture on AWS, consisting of a public-facing web tier in an Application Load Balancer (ALB), an application tier in private subnets, and a database tier in private subnets. The architecture must ensure that only the web tier can be accessed from the internet, and all communication between the tiers must be restricted to specific ports. Which combination of network security controls should you implement to meet these requirements?

  1. A

    Configure a security group for the ALB to allow inbound traffic only from the internet on ports 80 and 443.

  2. B

    Set up a Network ACL on the private subnets to allow traffic from the public subnets on ports 80 and 443 only.

  3. C

    Configure a security group for the application servers to allow traffic only from the ALB's security group on port 443.

  4. D

    Apply a security group to the database tier to allow traffic only from the application servers' security group on the database port.

  5. E

    Configure the ALB to use an Elastic IP and whitelist the organization's IP range to restrict access.

Show answer and explanation

Correct answers: A, C, D

Explanation

To meet the requirements, you must use security groups to restrict traffic between the tiers to specific sources and ports. The ALB security group allows traffic from the internet on ports 80 and 443, the application servers' security group restricts traffic to the ALB on port 443, and the database tier security group restricts traffic to the application servers on the database port. Network ACLs and Elastic IP configurations are either unnecessary or less suitable for this use case.

  • A. Correct.

    Correct. The security group for the ALB ensures that only traffic from the internet on ports 80 (HTTP) and 443 (HTTPS) is allowed, aligning with the requirement to restrict access to the web tier.

  • B. Incorrect.

    Incorrect. Network ACLs are stateless and less granular compared to security groups. Security groups are more appropriate for restricting communication between tiers in this scenario.

  • C. Correct.

    Correct. By configuring the application servers' security group to accept traffic only from the ALB's security group on port 443, you ensure secure communication between the web and application tiers.

  • D. Correct.

    Correct. Applying a security group to the database tier that allows traffic only from the application servers' security group on the specific database port ensures secure and restricted communication between the application and database tiers.

  • E. Incorrect.

    Incorrect. While using an Elastic IP and whitelisting the organization's IP range might restrict access, it is not part of the requirements to restrict access to the web tier based on IP. The ALB's security group fulfills this purpose.

SCS-C02 Question 205

Select 2

Your company has deployed a web application running in an Amazon VPC. The application is fronted by an Application Load Balancer (ALB) and is accessible via HTTPS. The backend instances are in private subnets. To enhance security, you want to ensure that only traffic originating from the ALB can reach the backend instances. How can you achieve this goal?

  1. A

    Configure a security group on the backend instances that only allows inbound traffic from the ALB's security group.

  2. B

    Create a network ACL for the private subnets that allows inbound traffic only from the ALB's IP address range.

  3. C

    Use an AWS WAF web ACL to restrict traffic to the ALB and backend instances.

  4. D

    Enable VPC Flow Logs to monitor traffic to and from the backend instances.

  5. E

    Modify the ALB's security group to allow only traffic destined for the backend instances' private IP addresses.

Show answer and explanation

Correct answers: A, B

Explanation

To ensure that only traffic originating from the ALB can reach the backend instances, you need to implement both security group and network ACL rules. Security groups can be configured to allow traffic only from a specific source, such as the ALB's security group, while network ACLs can further restrict traffic at the subnet level based on IP ranges. These combined controls provide layered network security for the backend instances.

  • A. Correct.

    Correct. Security groups can reference other security groups. By configuring the backend instances' security group to allow traffic only from the ALB's security group, you ensure that only traffic originating from the ALB can reach the backend instances.

  • B. Correct.

    Correct. Network ACLs operate at the subnet level and can be used to allow or deny traffic based on IP ranges. By allowing traffic only from the ALB's IP address range, you can restrict access to the backend instances.

  • C. Incorrect.

    Incorrect. AWS WAF is designed to filter traffic at the ALB layer based on rules, but it cannot restrict traffic directly to the backend instances.

  • D. Incorrect.

    Incorrect. While VPC Flow Logs help monitor traffic, they do not actively restrict or control traffic.

  • E. Incorrect.

    Incorrect. Modifying the ALB's security group will not control traffic to the backend instances. Security group rules for the ALB govern inbound traffic to the ALB, not the backend instances.

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 201 to 300 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. 201.You are designing a secure and scalable web application on AWS using a layered architecture. The application...
  2. 202.Your organization is designing a highly secure web application architecture on AWS. The architecture consists...
  3. 203.Your company operates a web application that follows a layered architecture with a public-facing Amazon...
  4. 204.Your organization has deployed a three-tier architecture on AWS, consisting of a public-facing web tier in an...
  5. 205.Your company has deployed a web application running in an Amazon VPC. The application is fronted by an...
  6. 206.Your organization has deployed a web application on AWS using an Auto Scaling group of EC2 instances behind...
  7. 207.Your company has deployed a multi-tier web application on AWS using an Elastic Load Balancer (ELB), a fleet...
  8. 208.Your company has recently adopted AWS Organizations to centralize the management of multiple AWS accounts. As...
  9. 209.Your company stores sensitive customer data in an Amazon S3 bucket. To comply with security policies, you...
  10. 210.Your organization is building a secure architecture for a new web application hosted on Amazon EC2 instances...
  11. 211.Your organization uses an Amazon S3 bucket to store sensitive customer data. The security team has recently...
  12. 212.Your organization has deployed a web application in a public subnet of a VPC. The application is accessible...
  13. 213.Your company has deployed a web application hosted on Amazon EC2 instances in a VPC. These instances are...
  14. 214.An organization has deployed an application in a VPC with private and public subnets. The application servers...
  15. 215.Your company is hosting a three-tier web application in AWS. The application consists of web servers,...
  16. 216.A company has multiple VPCs in a single AWS Region for development, staging, and production environments. The...
  17. 217.Your company has multiple VPCs in the same AWS Region, and you need to enable secure inter-VPC connectivity...
  18. 218.Your organization has two VPCs in the same AWS region, VPC-A and VPC-B. VPC-A hosts a critical database with...
  19. 219.Your organization has deployed multiple VPCs across different AWS Regions to separate environments such as...
  20. 220.An organization is investigating a potential data exfiltration incident in their AWS environment. They want...
  21. 221.You are a security engineer reviewing your organization's network monitoring strategy within AWS. The goal is...
  22. 222.Your organization is experiencing unusual traffic patterns in a specific Amazon VPC, and you suspect a...
  23. 223.Your company has implemented an EC2-based application in a VPC that processes sensitive customer data. To...
  24. 224.A company has deployed a VPN connection between their on-premises data center and their VPC in AWS using a...
  25. 225.Your company has deployed a VPC in AWS and established a Site-to-Site VPN connection between the VPC and your...
  26. 226.Your organization has set up a Site-to-Site VPN between your on-premises data center and an Amazon VPC. After...
  27. 227.Your company has deployed a corporate application in an Amazon VPC, and you need to securely connect the...
  28. 228.Your organization needs to establish a secure and reliable connection between its on-premises data center and...
  29. 229.Your organization wants to establish a secure and reliable connection between its on-premises data center and...
  30. 230.Your company has an on-premises data center that requires a secure and consistent connection to AWS. The...
  31. 231.Your organization is planning to establish a secure and reliable connection between its on-premises data...
  32. 232.Your company is deploying an application on Amazon EC2 instances within an Auto Scaling group behind an...
  33. 233.Your organization runs a highly sensitive machine learning workload on Amazon EC2 instances. As part of a...
  34. 234.Your organization is running a web application on Amazon EC2 instances behind an Application Load Balancer...
  35. 235.Your organization has deployed a web application on Amazon EC2 instances behind an Application Load Balancer...
  36. 236.An organization wants to improve its security posture by implementing enhanced logging and monitoring for its...
  37. 237.A company is using Amazon S3 to store sensitive financial data. To meet compliance requirements, the company...
  38. 238.An organization is using AWS Organizations to manage multiple AWS accounts. The Security team needs to ensure...
  39. 239.A company uses an Amazon S3 bucket to store sensitive financial data. The Security team has mandated that...
  40. 240.You are a security engineer tasked with ensuring that all Amazon EC2 instances in your environment are kept...
  41. 241.A company needs to ensure their Amazon EC2 instances running a critical application are always patched with...
  42. 242.Your organization is using Amazon EC2 instances to host a critical application. To ensure security and...
  43. 243.An organization uses EC2 instances to host critical applications. As part of their security and compliance...
  44. 244.Your organization has an Amazon EC2 instance running an application that needs access to objects stored in an...
  45. 245.An organization has deployed an EC2 instance that needs to access an S3 bucket to store logs. The security...
  46. 246.You are building a web application hosted on an Amazon EC2 instance that needs to upload files to an S3...
  47. 247.An application running on an Amazon EC2 instance requires access to an Amazon S3 bucket to retrieve...
  48. 248.An organization is using Amazon Elastic Container Service (ECS) to manage its containerized workloads. They...
  49. 249.Your organization uses Amazon Elastic Container Registry (Amazon ECR) to store container images and Amazon...
  50. 250.Your organization leverages Amazon EC2 instances and Amazon Elastic Container Registry (Amazon ECR) to run...
  51. 251.Your organization is running a containerized application using Amazon Elastic Kubernetes Service (Amazon...
  52. 252.An organization has deployed a critical application on Amazon EC2 instances running Amazon Linux. The...
  53. 253.Your organization has deployed an Amazon EC2 instance running a critical application. To comply with security...
  54. 254.Your organization is deploying an Amazon EC2 instance to host a critical web application. As part of the...
  55. 255.An organization is running a web application on Amazon EC2 instances in a public subnet. To enhance...
  56. 256.An organization has deployed an application in a VPC. Users are reporting that they are unable to connect to...
  57. 257.Your organization is hosting a web application on Amazon EC2 instances behind an Application Load Balancer...
  58. 258.Your company is experiencing connectivity issues with a web application hosted in a private subnet of a VPC....
  59. 259.An application running in a private subnet of your VPC is unable to connect to an external third-party API...
  60. 260.Your company has a multi-account AWS environment, and you are tasked with ensuring that all accounts adhere...
  61. 261.An organization wants to secure its Amazon S3 bucket that stores sensitive financial records. They require...
  62. 262.Your organization runs a web application on Amazon EC2 instances behind an Application Load Balancer (ALB)....
  63. 263.An organization is hosting a web application in AWS that processes sensitive customer data. The application...
  64. 264.Your organization is investigating connectivity issues between an Amazon EC2 instance in a private subnet and...
  65. 265.Your organization has set up a multi-tier application in AWS, consisting of a public-facing web tier in a...
  66. 266.Your organization has been experiencing network connectivity issues between an EC2 instance in a private...
  67. 267.Your company has deployed a three-tier web application in AWS. You are tasked with verifying the network...
  68. 268.An organization is running a web application on Amazon EC2 instances behind an Application Load Balancer...
  69. 269.Your organization has deployed an application on Amazon EC2 instances in a private subnet behind an...
  70. 270.You are designing a secure application that processes sensitive data over a network. The application needs to...
  71. 271.Your company has an application hosted on Amazon EC2 instances behind an Application Load Balancer (ALB). The...
  72. 272.Your organization has detected unusual activity originating from a specific IP range in your VPC. To...
  73. 273.Your organization has noticed an unusual number of failed DNS resolution attempts to external domains, which...
  74. 274.You are a security engineer investigating a potential data exfiltration attempt in your AWS environment. To...
  75. 275.Your company has been experiencing unauthorized access attempts to specific resources in your AWS...
  76. 276.An organization wants to allow developers to access an Amazon S3 bucket only from their corporate network and...
  77. 277.Your organization uses AWS Organizations with a centralized management account and several member accounts. A...
  78. 278.An organization needs to grant developers temporary access to an Amazon S3 bucket for testing purposes. The...
  79. 279.A company is designing a multi-account AWS environment and wants to ensure that administrators in the central...
  80. 280.A company is using an Amazon S3 bucket to store sensitive data. They want to ensure that only users...
  81. 281.Your company has implemented a multi-account strategy in AWS and uses AWS Organizations to manage all...
  82. 282.An organization wants to provide its developers the ability to assume an IAM Role to access an S3 bucket in...
  83. 283.Your company uses an Amazon RDS MySQL database instance to store sensitive customer data. To improve...
  84. 284.Your organization uses AWS Key Management Service (KMS) to manage encryption keys for sensitive data stored...
  85. 285.An organization is using Amazon S3 to store sensitive data. The security team needs to ensure that the S3...
  86. 286.A company is using Amazon RDS for its database workloads. The security team requires that all database...
  87. 287.Your company uses an Amazon S3 bucket to store sensitive financial data. To comply with regulatory...
  88. 288.An organization wants to centralize access management for its employees across multiple AWS accounts and...
  89. 289.Your organization has implemented AWS IAM Identity Center (AWS Single Sign-On) to centrally manage access to...
  90. 290.A company wants to enable single sign-on (SSO) for their employees to access multiple AWS accounts and...
  91. 291.An organization wants to provide its employees with seamless access to both AWS Management Console and other...
  92. 292.An organization is running a serverless application on AWS using Amazon API Gateway, AWS Lambda, and Amazon...
  93. 293.An organization leverages Amazon EC2 instances to run critical workloads. To access an S3 bucket, the...
  94. 294.A company wants to create a secure mechanism for developers to access AWS resources temporarily without...
  95. 295.An organization is using an application running on Amazon EC2 instances that require access to an Amazon S3...
  96. 296.An application running in your AWS account is failing to authenticate to an S3 bucket. The application...
  97. 297.An application running on an EC2 instance is failing to access an S3 bucket. The instance has an IAM role...
  98. 298.An application running in your AWS environment is failing to access an S3 bucket. The application is using an...
  99. 299.A developer is trying to access an S3 bucket but is receiving an 'Access Denied' error. As a security...
  100. 300.A company has an S3 bucket named 'secure-data-bucket' that stores sensitive data. The Security team has...