Demo Amazon DVA-C02 Exam Questions

Demo practice questions for guest users.

Section: Practice Mode 8 Questions
Demo Practice
Question 1

Acompany is running Amazon EC2 instances in multiple AWS accounts. A developer needs to
implement an application that collects all the lifecycle events of the EC2 instances. The application
needs to store the lifecycle events in a single Amazon Simple Queue Service (Amazon SQS) queue in
the company's main AWS account for further processing.
Which solution will meet these requirements?

Correct Answer: D
Explanation:
Amazon EC2 instances can send the state-change notification events to Amazon EventBridge.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-instance-state-changes.html
Amazon EventBridge can send and receive events between event buses in AWS accounts.
https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cross-account.html
Question 2

Acompany is implementing an application on Amazon EC2 instances. The application needs to
process incoming transactions. When the application detects a transaction that is not valid, the
application must send a chat message to the company's support team. To send the message, the
application needs to retrieve the access token to authenticate by using the chat API.
A developer needs to implement a solution to store the access token. The access token must be
encrypted at rest and in transit. The access token must also be accessible from other AWS accounts.
Which solution will meet these requirements with the LEAST management overhead?


Correct Answer: C
Explanation:
The best solution with the least management overhead and strongest security is to use AWS Secrets Manager with a customer managed AWS KMS key to store the access token. Secrets Manager is purpose-built for storing and retrieving sensitive credentials such as API keys and access tokens, and it automatically provides encryption at rest and in transit, fine-grained IAM access control, and built-in cross-account access via resource-based policies. The application running on Amazon EC2 can securely retrieve the secret using IAM permissions without needing to manually manage encryption/decryption logic. This eliminates the need for custom storage, manual key handling, or additional infrastructure, making it the simplest and most secure option that meets all requirements.
Why others are incorrect:
  • A: AWS Systems Manager Parameter Store SecureString is secure, but cross-account access via resource policies is more limited and less flexible than Secrets Manager for this use case.
  • B: Requires manual encryption/decryption logic and DynamoDB management, increasing overhead.
  • D: Using S3 for secret storage is not designed for secrets management and adds unnecessary complexity and risk.
Therefore, AWS Secrets Manager (Option C) provides the best balance of security, simplicity, and cross-account accessibility.

Demo Practice Mode

You are viewing only the questions marked as Demo.

BACK TO EXAM