Question-5: PHP developers have access to the tools they need to effectively create cloud-native apps using Google Cloud. You may construct your applications more rapidly using software development kits (SDKs) and native runtime support for Cloud Run, App Engine, and GKE. Your whole programme might be managed and operated by Google Cloud. You are using Cloud SQL as the backend for a PHP App Engine Standard service that you are launching. You should try to do as few queries as possible on the database. App Engine is a platform for the development and hosting of scalable web apps that is completely managed and does not need a server. A virtual machine (VM) instance may make use of a particular machine type, which is a collection of virtualized hardware resources. These resources include the system memory capacity, the number of virtual CPUs (vCPUs), and the persistent disc constraints. What is it that you ought to do?
A. Change the level of service for the memcache to dedicated. Before sending a query to Cloud SQL, it is necessary to first generate a key based on the query's hash and get database contents from the memcache.
B. Change the level of service for the memcache to dedicated. Establish a cron job to execute once per minute in order to fill the cache with keys that include the results of queries.
C. Change the level of service for the memcache to shared. Establish a cron job to execute once every minute, and name the task cached queries, so that it saves all expected queries in the cache.
D. Change the level of service for the memcache to shared. Before using a query to Cloud SQL, you should first create a key that you will call cached queries, and then return database values from that key.

Get All 340 Questions and Answer for Google Professional Cloud Architect