
Answer-first summary for fast verification
Answer: Organize a meeting with the cloud operations team and the engineer to explore load balancer options suitable for the application.
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.
Author: LeetQuiz Editorial Team
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
Collaborate with the engineer to redesign the application, eliminating reliance on websockets and HTTP sessions by adopting a distributed user session service.
B
Discuss the encryption needs for websocket connections with the security team to enhance security measures.
C
Organize a meeting with the cloud operations team and the engineer to explore load balancer options suitable for the application.
D
Advise the engineer to transition from websocket code to HTTP streaming for better compatibility.
No comments yet.