
Google Associate Cloud Engineer
Get started today
Ultimate access to all questions.
A lead software engineer is developing an application that utilizes websockets and HTTP sessions, which are not distributed across web servers. How can you assist in ensuring the application runs smoothly on Google Cloud Platform?
A lead software engineer is developing an application that utilizes websockets and HTTP sessions, which are not distributed across web servers. How can you assist in ensuring the application runs smoothly on Google Cloud Platform?
Real Exam
Explanation:
The correct approach is to discuss load balancer options with the cloud operations team and the engineer, as the HTTP(S) load balancer in GCP natively supports websocket traffic. This allows backends using WebSocket to communicate with clients efficiently, ensuring scalability and availability without requiring additional configuration for WebSocket connections.
- Option A is incorrect because there's no need to abandon websockets when migrating to GCP.
- Option B, while potentially beneficial for security, does not directly address the migration to GCP.
- Option D is unnecessary since websockets are fully supported on GCP without the need to switch to HTTP streaming.