Practice Test 2 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test
A new client has approached your company who wants a serverless application running on Google Cloud. They want their frontend in React and backend to be written in Python because they have in-house team which is familiar with React and Python. Which service(s) will you prefer to use?
A. Pub/Sub & GCS
B. Cloud Function & GCS
C. Cloud Function
D. GKE & Cloud Function
Explanation:
Answer B
Option B is correct: You can use GCS for hosting a static website (html, css and js) and Cloud Function for deploying Python code.
Option A is incorrect: GCS can be used for hosting serverless frontend application, but Pub/Sub cannot be used to deploy Python backend. Also, Pub/Sub is used for decoupling the different modules of application.
Option C is incorrect: Using Cloud Function you can only deploy Python code.
Option D is incorrect: Cloud Function can be used to deploy serverless application but GKE will create VMs, hence is not considered for deploying serverless application.
Link:
https://cloud.google.com/storage/docs/hosting-static-website
https://cloud.google.com/functions/
Comments are closed, but trackbacks and pingbacks are open.