AWS Certified Developer – Associate (DVA-C02)Development with AWS ServicesHard

A developer is building a backend for a mobile application that needs to synchronize user profile data across multiple devices. The data includes user preferences, game progress, and application settings. The solution must be highly available, scalable, and allow for offline data access with automatic synchronization when the device comes online. Which AWS service is designed to handle this specific requirement?

  1. AAmazon S3
  2. BAWS AppSync
  3. CAmazon Cognito Sync
  4. DAmazon DynamoDB
Show answer & explanation

Correct answer: C. Amazon Cognito Sync

Amazon Cognito Sync is a service that enables cross-device data synchronization. It allows developers to synchronize user profile data and application-specific settings across multiple devices and platforms, supporting offline access and automatic synchronization when connectivity is restored.

Why the other options are wrong

  • A. Amazon S3 is object storage, not designed for structured, synchronized user profile data across devices.
  • B. AWS AppSync is a managed GraphQL service that simplifies application development by letting you create a flexible API, but its primary focus is on real-time data and offline access for GraphQL APIs, not directly for simple key-value user profile synchronization like Cognito Sync.
  • D. Amazon DynamoDB is a NoSQL database, which could store the data, but it doesn't natively provide the cross-device synchronization, offline access, and conflict resolution features that Cognito Sync offers.

Amazon Cognito Sync

An AWS service that enables you to synchronize user profile data and application-specific settings across mobile devices and the web.

  • Synchronizes user data across multiple devices and platforms.
  • Supports offline data access with automatic synchronization.
  • Integrates with Amazon Cognito Identity Pools for user identity.

Memory trick: When user data needs to 'Sync' across 'Cognito' devices, 'Cognito Sync' is the specialized service.

More Development with AWS Services questions