AWS Certified Developer – Associate (DVA-C02) — Question 345
A developer is working on a web application that requires selective activation of specific features. The developer wants to keep the features hidden from end users until the features are ready for public access.
Which solution will meet these requirements?
Answer options
- A. Create a feature flag configuration profile in AWS AppSync. Store the feature flag values in the configuration profile. Activate and deactivate feature flags as needed.
- B. Store prerelease data in an Amazon DynamoDB table. Enable Amazon DynamoDB Streams in the table. Toggle between hidden and visible states by using DynamoDB Streams.
- C. Create a feature flag configuration profile in AWS AppConfig. Store the feature flag values in the configuration profile. Activate and deactivate feature flags as needed.
- D. Store prerelease data in AWS Amplify DataStore. Toggle between hidden and visible states by using Amplify DataStore cloud synchronization.
Correct answer: C
Explanation
AWS AppConfig natively supports creating and managing feature flags, allowing developers to safely toggle application features on or off in real-time without redeploying code. AWS AppSync is a managed GraphQL service, while Amazon DynamoDB Streams and AWS Amplify DataStore are not designed for managing application configurations or feature toggles.