How should you design a row key for Cloud Bigtable for this table?

You are designing a schema for a table that will be moved from MySQL to Cloud Bigtable. The MySQL table is as follows: How should you design a row key for Cloud Bigtable for this table?A . Set Account_id as a key.B . Set Account_id_Event_timestamp as a key.C . Set...

December 18, 2023 No Comments READ MORE +

Which API architecture should you use?

You are building an API that will be used by Android and iOS apps The API must: • Support HTTPs • Minimize bandwidth cost • Integrate easily with mobile apps Which API architecture should you use?A . RESTful APIsB . MQTT for APIsC . gRPC-based APIsD . SOAP-based APIsView AnswerAnswer:...

December 18, 2023 No Comments READ MORE +

Which alert condition should you configure?

You are deploying your application to a Compute Engine virtual machine instance with the Stackdriver Monitoring Agent installed. Your application is a unix process on the instance. You want to be alerted if the unix process has not run for at least 5 minutes. You are not able to change...

December 17, 2023 No Comments READ MORE +

What should you do?

You are planning to migrate a MySQL database to the managed Cloud SQL database for Google Cloud. You have Compute Engine virtual machine instances that will connect with this Cloud SQL instance. You do not want to whitelist IPs for the Compute Engine instances to be able to access Cloud...

December 17, 2023 No Comments READ MORE +

What should you do?

Your application performs well when tested locally, but it runs significantly slower when you deploy it to App Engine standard environment. You want to diagnose the problem. What should you do?A . File a ticket with Cloud Support indicating that the application performs faster locally.B . Use Stackdriver Debugger Snapshots...

December 17, 2023 No Comments READ MORE +

After installing the Stackdriver Logging Agent, what should you do first?

You want to use the Stackdriver Logging Agent to send an application's log file to Stackdriver from a Compute Engine virtual machine instance. After installing the Stackdriver Logging Agent, what should you do first?A . Enable the Error Reporting API on the project.B . Grant the instance full access to...

December 17, 2023 No Comments READ MORE +

What should you do?

Your application is controlled by a managed instance group. You want to share a large read-only data set between all the instances in the managed instance group. You want to ensure that each instance can start quickly and can access the data set via its filesystem with very low latency....

December 16, 2023 No Comments READ MORE +

What should you do?

You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to...

December 16, 2023 No Comments READ MORE +

What should you do?

Your application is logging to Stackdriver. You want to get the count of all requests on all /api/alpha/* endpoints. What should you do? A. Add a Stackdriver counter metric for path:/api/alpha/. B. Add a Stackdriver counter metric for endpoint:/api/alpha/*. C. Export the logs to Cloud Storage and count lines matching...

December 16, 2023 No Comments READ MORE +

How should you identify the Docker image in your build?

You are using Cloud Build build to promote a Docker image to Development, Test, and Production environments. You need to ensure that the same Docker image is deployed to each of these environments. How should you identify the Docker image in your build?A . Use the latest Docker image tag.B...

December 16, 2023 No Comments READ MORE +