GCP - Cloud Pub/SubWhich of the following is the correct way to configure a push subscription endpoint URL in Google Cloud Pub/Sub?ASet the subscription's pushConfig with a valid HTTPS URL where messages will be sent.BSet the subscription's pullConfig with the endpoint URL to pull messages.CConfigure the subscription with a TCP socket address for push delivery.DUse the subscription's pushConfig with an FTP URL for message delivery.Check Answer
Step-by-Step SolutionSolution:Step 1: Identify correct pushConfig usagePush subscriptions require setting pushConfig with a valid HTTPS URL for message delivery.Step 2: Eliminate incorrect optionsPullConfig does not exist; TCP and FTP are not supported protocols for push endpoints.Final Answer:Set the subscription's pushConfig with a valid HTTPS URL where messages will be sent. -> Option AQuick Check:PushConfig needs HTTPS URL [OK]Quick Trick: Push subscriptions need HTTPS URL in pushConfig [OK]Common Mistakes:Using pullConfig instead of pushConfigSetting non-HTTPS URLs for push endpointsConfusing pull and push subscription settings
Master "Cloud Pub/Sub" in GCP9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More GCP Quizzes Cloud Firestore and Bigtable - Bigtable schema design - Quiz 3easy Cloud Functions - Cold start behavior - Quiz 13medium Cloud Functions - Environment variables and secrets - Quiz 12easy Cloud IAM Advanced - Why advanced IAM matters - Quiz 15hard Cloud IAM Advanced - VPC Service Controls - Quiz 5medium Cloud Load Balancing - Why load balancing matters - Quiz 6medium Cloud Run - Cloud Run service concept - Quiz 6medium Cloud Run - Deploying container images - Quiz 1easy Cloud SQL and Databases - Cloud Spanner for global distribution - Quiz 1easy Cloud SQL and Databases - Backup and restore - Quiz 7medium