For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAWS Solutions Architect Professional (SAP-C02)AWS Solutions Architect Professional SAP-C02 Practice Exam 5Question 59
    Medium1 markMultiple Choice
    Domain 2.4: ReliabilityServerlessAppSyncReal-timeSecurity

    AWS SAP-C02 · Question 59 · Domain 2.4: Reliability

    A company is building a serverless application using AWS AppSync (GraphQL), AWS Lambda, and Amazon DynamoDB. The application allows users to post messages. The company wants to implement real-time updates so that when a user posts a message, all other users viewing the application see the new message instantly without refreshing the page. They also want to ensure that users can only see messages in channels they are authorized to access. Which combination of features should be used? (Select TWO)

    Answer options:

    A.

    Use AWS AppSync Subscriptions to push real-time updates to connected clients.

    B.

    Implement AWS AppSync resolvers with Amazon Cognito User Pools for authorization checks.

    C.

    Use Amazon API Gateway WebSockets to manage the real-time connections.

    D.

    Use Amazon SNS to send push notifications to the web browsers.

    E.

    Configure DynamoDB Streams to trigger a Lambda function that updates the clients.

    F.

    Use AWS IAM roles attached to the client browsers to authorize access to channels.

    How to approach this question

    Identify the native real-time feature of AppSync and its native authentication integration.

    Full Answer

    AWS AppSync is a managed GraphQL service. GraphQL supports `Subscriptions`, which allow clients to maintain a persistent WebSocket connection to the server. When a `Mutation` (like posting a message) occurs, AppSync automatically pushes the update to all subscribed clients in real-time. For authorization, AppSync integrates seamlessly with Amazon Cognito User Pools, allowing you to restrict access to specific data (channels) based on the authenticated user's identity.

    Common mistakes

    Trying to build a custom WebSocket solution with API Gateway when AppSync provides it natively.
    Question 58All questionsQuestion 60

    Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 5

    75 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01A global enterprise is redesigning its AWS network architecture across 50 AWS accounts and 3 AWS ...HardQ02A company uses AWS Organizations to manage multiple accounts. The security team mandates that no ...MediumQ03A financial institution requires a disaster recovery strategy for its critical trading applicatio...HardQ04An enterprise is setting up a new multi-account AWS environment using AWS Control Tower. They nee...MediumQ05A company has a complex AWS environment with hundreds of linked accounts under AWS Organizations....Hard
    View all 75 questions →