Amazon Web ServicesExpert levelSCS-C02Page 5 of 6

SCS-C02 exam dumps: questions 401 to 500 of 503

Page 5 of the free SCS-C02 question bank for the AWS Certified Security - Specialty exam. Questions 401 to 500 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 401 to 405 of 503

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

SCS-C02 Question 401

Select 3

Your organization uses AWS Secrets Manager to securely store database credentials for multiple environments (development, staging, and production). A security audit revealed that credentials for the production database were accidentally exposed due to improper access control settings. As the security engineer, you need to ensure that only the appropriate IAM roles or users can access the production secrets. Which steps should you take to restrict access to the production database secret while maintaining security best practices?

  1. A

    Use resource-based policies in Secrets Manager to explicitly allow access only to specific IAM roles or users.

  2. B

    Enable automatic rotation for the production database secret to generate a new set of credentials.

  3. C

    Attach an AWS KMS key policy to the encryption key used for the secret, allowing only specific IAM roles or users to decrypt the secret.

  4. D

    Use AWS Organizations Service Control Policies (SCPs) to block access to Secrets Manager for all other accounts.

  5. E

    Create an IAM policy with least privilege permissions and attach it to the appropriate IAM roles or users.

Show answer and explanation

Correct answers: A, B, E

Explanation

To properly secure a secret in AWS Secrets Manager, it is critical to use multiple layers of security. Resource-based policies explicitly restrict access to specific IAM identities, IAM policies enforce least privilege permissions, and automatic rotation ensures that exposed credentials are regularly replaced. KMS key policies and SCPs are useful in broader security contexts but do not directly manage access to individual secrets in Secrets Manager.

  • A. Correct.

    This is correct. Resource-based policies in Secrets Manager allow you to control access to specific secrets. By explicitly granting access to specific IAM roles or users, you can ensure that only authorized identities can interact with the production secret.

  • B. Correct.

    This is correct. Enabling automatic rotation ensures that if credentials are exposed, they will be rotated to a new set of credentials, mitigating risk. This is a critical security best practice for managing secrets.

  • C. Incorrect.

    This is incorrect. While KMS key policies are important for controlling access to the encryption key, they do not directly restrict access to the secret itself. Secrets Manager uses AWS KMS only for encryption and decryption of the secret's data.

  • D. Incorrect.

    This is incorrect. AWS Organizations SCPs are used to set permission boundaries for AWS accounts within an organization. While they can limit access to Secrets Manager service at an account level, they are not granular enough to manage access to specific secrets.

  • E. Correct.

    This is correct. Creating and attaching an IAM policy with least privilege permissions ensures that only the necessary roles or users have the ability to access the production database secret, following security best practices.

SCS-C02 Question 402

Select 3

Your organization uses AWS Secrets Manager to store and rotate database credentials. A developer has accidentally hardcoded the database credentials in an application. To mitigate the associated risk, what steps should you take to ensure the hardcoded credentials are no longer valid and the application uses Secrets Manager moving forward?

  1. A

    Rotate the secret in Secrets Manager to generate new credentials for the database.

  2. B

    Manually update the hardcoded credentials in the application with the new credentials from Secrets Manager.

  3. C

    Update the application to fetch the database credentials dynamically from Secrets Manager using the AWS SDK.

  4. D

    Enable automatic secret rotation in Secrets Manager to ensure credentials are regularly updated.

  5. E

    Revoke the permissions of the IAM role used by the application to access Secrets Manager.

Show answer and explanation

Correct answers: A, C, D

Explanation

To address the risk of hardcoded credentials, you must rotate the existing secret to invalidate the exposed credentials, update the application to fetch credentials dynamically from Secrets Manager, and enable automatic rotation for ongoing security. Manual updates or restricting access to Secrets Manager do not address the root cause or enhance security moving forward.

  • A. Correct.

    Rotating the secret in Secrets Manager ensures that the hardcoded credentials in the application are no longer valid, mitigating the immediate risk.

  • B. Incorrect.

    Manually updating the hardcoded credentials is not a long-term solution as it does not resolve the issue of hardcoding or ensure dynamic credential management.

  • C. Correct.

    Updating the application to fetch credentials dynamically from Secrets Manager is a best practice, ensuring secure and automated retrieval of secrets.

  • D. Correct.

    Enabling automatic secret rotation ensures that credentials are regularly updated and minimizes the risk of credential exposure in the future.

  • E. Incorrect.

    Revoking the IAM role's permissions to access Secrets Manager would prevent the application from retrieving secrets dynamically, which is counterproductive to resolving the issue.

SCS-C02 Question 403

Single answer

Your company is using an Amazon RDS database to store sensitive customer information. To enhance security, you need to rotate the database credentials automatically without impacting application availability. Which approach should you take using AWS Secrets Manager?

  1. A

    Manually update the database credentials in AWS Secrets Manager and notify the application team to update the credentials in the application.

  2. B

    Enable automatic rotation for the database secret in Secrets Manager and attach an AWS Lambda function to handle the rotation logic.

  3. C

    Create a new secret in AWS Secrets Manager for the new credentials and update the application code to use the new secret.

  4. D

    Use AWS Key Management Service (KMS) to directly rotate the database credentials and manage them in Secrets Manager.

Show answer and explanation

Correct answer: B

Explanation

AWS Secrets Manager provides a built-in capability to automatically rotate secrets for supported databases like Amazon RDS. This is achieved by enabling automatic rotation and using an AWS Lambda function to manage the process. This ensures minimal disruption to applications and eliminates the need for manual updates, making it the most efficient and secure solution.

  • A. Incorrect.

    Manually updating credentials in Secrets Manager and notifying the application team would require manual intervention and could lead to potential downtime or errors, which does not meet the requirement for automatic rotation.

  • B. Correct.

    Enabling automatic rotation in Secrets Manager and attaching a Lambda function to handle the rotation logic is the correct approach. Secrets Manager can automatically rotate RDS database credentials without requiring manual updates, ensuring seamless integration with applications.

  • C. Incorrect.

    Creating a new secret and updating the application code introduces additional manual steps and is not an efficient solution for automatic rotation.

  • D. Incorrect.

    AWS KMS is used for encryption key management, not for directly rotating database credentials. Secrets Manager is the appropriate service for this use case.

SCS-C02 Question 404

Select 3

An organization is using AWS Systems Manager Parameter Store to manage sensitive application configuration data, such as database credentials and API keys. To enhance security, the organization wants to ensure that only specific IAM roles can access these parameters, and all sensitive data is encrypted. Additionally, they want to audit access to the parameters. Which of the following steps should they take to meet these requirements?

  1. A

    Use AWS Key Management Service (KMS) to encrypt sensitive parameters in the Parameter Store.

  2. B

    Attach an IAM policy to the required IAM roles that grants access to specific Parameter Store parameters.

  3. C

    Enable versioning for sensitive parameters to track changes over time.

  4. D

    Turn on AWS CloudTrail logging to track access to the Parameter Store.

  5. E

    Disable encryption for non-sensitive parameters to reduce costs.

Show answer and explanation

Correct answers: A, B, D

Explanation

To enhance security when using AWS Systems Manager Parameter Store with sensitive data, you should encrypt the parameters using AWS KMS, apply IAM policies for fine-grained access control, and enable AWS CloudTrail to audit access. These steps ensure the data is protected, access is restricted, and all interactions with the Parameter Store are logged for compliance and troubleshooting.

  • A. Correct.

    Correct: AWS KMS allows for encryption of sensitive data stored in Parameter Store, ensuring the data is encrypted at rest.

  • B. Correct.

    Correct: IAM policies are used to define fine-grained access control, ensuring only specific roles can access sensitive parameters.

  • C. Incorrect.

    Incorrect: While versioning is useful for managing changes, it is not specifically required to meet the stated security and auditing requirements.

  • D. Correct.

    Correct: AWS CloudTrail can be used to monitor and audit access to Parameter Store, fulfilling the auditing requirement.

  • E. Incorrect.

    Incorrect: Disabling encryption for non-sensitive parameters does not enhance security and is not recommended as a best practice.

SCS-C02 Question 405

Select 3

An organization stores sensitive database credentials in AWS Systems Manager Parameter Store as SecureString parameters. To enhance security, they want to ensure that only specific IAM roles can access these parameters and that any unauthorized access attempts are logged. Which combination of actions should they take?

  1. A

    Attach an IAM policy to the specific roles allowing access to the SecureString parameters.

  2. B

    Enable AWS CloudTrail to monitor access to the Parameter Store.

  3. C

    Configure a resource-based policy on the SecureString parameters to restrict access.

  4. D

    Use a KMS key to encrypt the SecureString parameters and control access to the key.

  5. E

    Enable versioning for the SecureString parameters in Parameter Store.

Show answer and explanation

Correct answers: A, B, D

Explanation

To securely manage sensitive data in AWS Systems Manager Parameter Store, you must ensure that access control is enforced and unauthorized access attempts are logged. IAM policies control who can access the parameters, AWS CloudTrail provides a record of access attempts, and encrypting SecureString parameters with a KMS key ensures data security. Resource-based policies and versioning are either unsupported or irrelevant in this case.

  • A. Correct.

    Attaching an IAM policy to the specific roles granting access to the SecureString parameters ensures that only authorized roles can read or write to the parameters. This is a key step in enforcing access control.

  • B. Correct.

    Enabling AWS CloudTrail ensures that all API calls and access attempts to the Parameter Store are logged, which is critical for auditing and detecting unauthorized access attempts.

  • C. Incorrect.

    You cannot directly attach a resource-based policy to Parameter Store parameters. Access control for Parameter Store is managed through IAM policies and, optionally, KMS policies.

  • D. Correct.

    Using a KMS key to encrypt SecureString parameters adds an additional layer of security. Access to the parameters can be further restricted by controlling access to the associated KMS key.

  • E. Incorrect.

    Parameter Store does not support versioning for SecureString parameters. This option is not valid.

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 401 to 500 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. 401.Your organization uses AWS Secrets Manager to securely store database credentials for multiple environments...
  2. 402.Your organization uses AWS Secrets Manager to store and rotate database credentials. A developer has...
  3. 403.Your company is using an Amazon RDS database to store sensitive customer information. To enhance security,...
  4. 404.An organization is using AWS Systems Manager Parameter Store to manage sensitive application configuration...
  5. 405.An organization stores sensitive database credentials in AWS Systems Manager Parameter Store as SecureString...
  6. 406.Your organization is using AWS Systems Manager Parameter Store to store sensitive database credentials as...
  7. 407.A company uses AWS Systems Manager Parameter Store to store sensitive database credentials as SecureString...
  8. 408.Your organization uses AWS Key Management Service (KMS) to manage encryption keys for securing sensitive...
  9. 409.An organization is using AWS KMS to encrypt sensitive data stored in their S3 buckets. They have created a...
  10. 410.Your organization is using AWS Key Management Service (KMS) to manage encryption keys for sensitive data. You...
  11. 411.Your organization uses AWS Key Management Service (KMS) to secure sensitive data. You need to encrypt a large...
  12. 412.Your company is undergoing a security audit to ensure compliance with industry standards. As part of the...
  13. 413.An organization wants to ensure compliance with security policies and regulatory standards across all AWS...
  14. 414.Your organization is undergoing a security compliance audit and needs to ensure that all IAM users have...
  15. 415.An organization is using AWS Organizations to manage multiple AWS accounts. The security team wants to...
  16. 416.An organization wants to centrally manage multiple AWS accounts to enforce consistent security policies,...
  17. 417.Your organization is rapidly expanding its cloud infrastructure and frequently creating new AWS accounts for...
  18. 418.Your organization is rapidly expanding and plans to onboard multiple AWS accounts for different business...
  19. 419.Your organization is undergoing rapid growth, and the security team has been tasked with centrally managing...
  20. 420.A company is using Amazon S3 to store sensitive financial documents. The security team requires that all...
  21. 421.A company is running a web application on EC2 instances behind an Application Load Balancer (ALB). The...
  22. 422.Your organization uses Amazon S3 to store sensitive customer data. To comply with regulatory requirements,...
  23. 423.Your organization has implemented Amazon S3 to store sensitive financial reports. As part of compliance...
  24. 424.Your company has adopted a multi-account AWS strategy to isolate workloads for better security and...
  25. 425.An organization is adopting a multi-account strategy in AWS to improve security and operational efficiency....
  26. 426.You are a Security Engineer at a company that has adopted a multi-account strategy using AWS Organizations....
  27. 427.Your organization has adopted a multi-account strategy using AWS Organizations. The security team wants to...
  28. 428.Your company uses AWS Organizations to manage multiple AWS accounts. The Security Team needs to delegate...
  29. 429.Your organization uses AWS Organizations to manage multiple AWS accounts. The Security team wants to delegate...
  30. 430.Your organization uses AWS Organizations to manage multiple accounts. The security team wants to delegate...
  31. 431.Your organization uses AWS Organizations to manage multiple AWS accounts. The Security team wants to delegate...
  32. 432.Your organization has adopted AWS Organizations to manage multiple AWS accounts. You are tasked with ensuring...
  33. 433.An organization has implemented AWS Control Tower to manage multiple accounts within their AWS Organization....
  34. 434.An organization uses AWS Organizations and has implemented Service Control Policies (SCPs) to establish...
  35. 435.Your organization is using AWS Organizations to manage multiple accounts. The security team has implemented...
  36. 436.Your company has just created a new AWS account for a critical production workload. As part of the initial...
  37. 437.Your company recently set up an AWS account, and as part of the security review, you need to ensure that the...
  38. 438.Your organization has recently set up an AWS account for a new project. As the Security Lead, you are tasked...
  39. 439.Your organization has recently set up a new AWS account. As a security best practice, what steps should you...
  40. 440.A company has two AWS accounts: 'Account A' and 'Account B'. Account A hosts an S3 bucket that contains...
  41. 441.An organization named OrgA wants to allow an external partner, OrgB, to access an S3 bucket in its AWS...
  42. 442.An organization, Organization A, wants to provide temporary access to its Amazon S3 bucket to an external...
  43. 443.An organization named 'Account A' needs to allow a development team in another AWS account, 'Account B', to...
  44. 444.An organization wants to automate the deployment of their cloud resources across multiple AWS accounts and...
  45. 445.Your organization uses AWS CloudFormation templates to provision infrastructure resources across multiple...
  46. 446.An organization wants to implement a secure and consistent deployment strategy for their cloud resources....
  47. 447.Your company has adopted Infrastructure as Code (IaC) using AWS CloudFormation to ensure a secure and...
  48. 448.A company is hosting a mission-critical application on Amazon EC2 instances within a VPC. The application...
  49. 449.Your company utilizes an Amazon S3 bucket to store sensitive customer data. To ensure compliance with...
  50. 450.You are a Security Engineer at a company that uses AWS Organizations to manage multiple accounts. The company...
  51. 451.Your company has deployed an application that stores sensitive customer data in an Amazon S3 bucket. To...
  52. 452.You are tasked with deploying an AWS CloudFormation template that provisions critical resources, including an...
  53. 453.Your organization uses AWS CloudFormation to deploy infrastructure as code (IaC). As part of a security...
  54. 454.Your organization is using AWS CloudFormation to manage infrastructure as code (IaC). As part of improving...
  55. 455.You are responsible for managing the security of your AWS environment, and your team uses AWS CloudFormation...
  56. 456.An organization is implementing a tagging strategy to enhance security and governance across their AWS...
  57. 457.An organization is managing a large number of AWS resources across multiple accounts and regions. They want...
  58. 458.Your company has been facing challenges in managing resources across AWS accounts due to inconsistent tagging...
  59. 459.Your company has recently adopted a tagging strategy to better manage and secure resources in AWS. As the...
  60. 460.Your organization uses multiple AWS accounts for different teams and projects. To ensure consistent...
  61. 461.Your company is managing multiple AWS accounts as part of an AWS Organizations setup. You need to enforce...
  62. 462.Your organization manages multiple AWS accounts under a single AWS Organization. You are tasked with ensuring...
  63. 463.Your organization has multiple AWS accounts managed under an AWS Organizations setup. You need a solution to...
  64. 464.Your organization requires increased visibility and control over its AWS infrastructure to ensure compliance...
  65. 465.An organization has multiple AWS accounts and uses AWS Organizations to manage them. The security team wants...
  66. 466.Your company uses multiple AWS accounts within an AWS Organization. The Security team wants to monitor and...
  67. 467.Your organization requires real-time visibility into API calls made to the AWS environment for compliance and...
  68. 468.Your organization is required to maintain compliance with a regulatory standard that mandates encryption for...
  69. 469.Your company is using AWS Config to evaluate compliance of resources against a set of organizational...
  70. 470.An organization uses AWS Config to monitor compliance of its resources with internal security policies. The...
  71. 471.Your company has implemented an AWS Config rule to ensure that all S3 buckets are encrypted with server-side...
  72. 472.An organization needs to secure sensitive customer data stored in an Amazon S3 bucket. The security team...
  73. 473.A company has deployed a web application on Amazon EC2 instances behind an Application Load Balancer (ALB)....
  74. 474.An organization is deploying a new web application on Amazon EC2 instances behind an Application Load...
  75. 475.Your company has a critical application hosted on Amazon EC2 instances in a VPC. The application requires...
  76. 476.Your company stores sensitive financial data in Amazon S3. To meet compliance requirements, you need to...
  77. 477.Your organization stores sensitive data in Amazon S3 buckets and needs to ensure that data classification is...
  78. 478.Your organization wants to classify sensitive data stored in Amazon S3 buckets and ensure compliance with...
  79. 479.Your organization stores sensitive customer data in S3 buckets across multiple AWS accounts. To ensure...
  80. 480.Your organization has a security compliance requirement to ensure that all Amazon S3 buckets are configured...
  81. 481.Your organization has implemented AWS Config to monitor and evaluate the configurations of AWS resources. You...
  82. 482.Your company is using multiple AWS services and resources in production. As part of a compliance requirement,...
  83. 483.Your company recently implemented AWS Config to track the configuration changes of your AWS resources. As the...
  84. 484.An organization performs a security review of its AWS architecture and notices that sensitive data stored in...
  85. 485.An organization has several AWS accounts consolidated under AWS Organizations. During a recent security...
  86. 486.Your organization is conducting an architectural review to identify potential security gaps and optimize...
  87. 487.An organization is conducting an architectural review of its AWS environment to identify security gaps and...
  88. 488.Your organization uses Amazon S3 to store sensitive customer information. Compliance regulations dictate that...
  89. 489.An organization uses an S3 bucket to store sensitive financial documents. The security team requires that the...
  90. 490.Your organization wants to enforce strict security controls on how developers can access production S3...
  91. 491.Your organization uses an S3 bucket to store sensitive financial data. The bucket is configured with...
  92. 492.Your organization uses AWS and has recently noticed unexpected increases in monthly costs. You have been...
  93. 493.A financial services company notices a sudden spike in its AWS usage costs for a specific service in a...
  94. 494.An organization has observed an unexpected spike in their AWS costs. As a security specialist, you are tasked...
  95. 495.Your organization has noticed an unexpected spike in AWS costs for the current month. As a Security Engineer,...
  96. 496.Your company has deployed a web application on Amazon EC2 instances behind an Application Load Balancer...
  97. 497.Your organization runs a web application on AWS using an Amazon EC2 instance behind an Application Load...
  98. 498.Your organization has deployed a web application on AWS using Amazon EC2 instances behind an Application Load...
  99. 499.Your company is deploying a new web application on AWS. To minimize the attack surface of the application,...
  100. 500.An organization is designing a highly secure architecture for an application that processes sensitive...