
Answer-first summary for fast verification
Answer: Organize a discussion with the cloud operations team and the engineer to explore load balancer solutions.
The correct answer is **C** because the HTTP(S) load balancer in GCP inherently supports websocket traffic, facilitating scale and availability without requiring additional configuration for WebSocket connections. This approach is optimal for applications utilizing WebSocket for client-server communication. - **Option A** is incorrect as migrating away from websockets is unnecessary for GCP compatibility. - **Option B**, while potentially beneficial for security, does not directly address the application's operational needs on GCP. - **Option D** is incorrect because converting to HTTP streaming is not required for GCP deployment and does not leverage GCP's native support for websockets.
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
Engage with the security team to evaluate the encryption needs for websocket connections.
C
Organize a discussion with the cloud operations team and the engineer to explore load balancer solutions.
D
Advise the engineer to transition from websocket code to HTTP streaming.
No comments yet.