Your Compute Engine application needs to call Google APIs but does not have a public IP address.
What should you configure?
A. Cloud NATYou are a developer at a financial institution. You use Cloud Shell to interact with Google Cloud services. User data is currently stored on an ephemeral disk; however, a recently passed regulation mandates that you can no longer store sensitive information on an ephemeral disk. You need to implement a new storage solution for your user data. You want to minimize code changes.
Where should you store your user data?
A. Store user data on a Cloud Shell home disk, and log in at least every 120 days to prevent its deletion.You are monitoring a web application that is written in Go and deployed in Google Kubernetes Engine. You notice an increase in CPU and memory utilization. You need to determine which source code is consuming the most CPU and memory resources.
What should you do?
A. Download, install, and start the Snapshot Debugger agent in your VM. Take debug snapshots of the functions that take the longest time. Review the call stack frame, and identify the local variables at that level in the stack.You need to load-test a set of REST API endpoints that are deployed to Cloud Run. The API responds to HTTP POST requests. Your load tests must meet the following requirements:
1. Load is initiated from multiple parallel threads.
2. User traffic to the API originates from multiple source IP addresses.
3. Load can be scaled up using additional test instances.
You want to follow Google-recommended best practices.
How should you configure the load testing?
A. Create an image that has curl installed, and configure curl to run a test plan. Deploy the image in a managed instance group, and run one instance of the image for each VM.You are responsible for deploying a new API. That API will have three different URL paths:
1. https://yourcompany.com/students
2. https://yourcompany.com/teachers
3. https://yourcompany.com/classes
You need to configure each API URL path to invoke a different function in your code.
What should you do?
A. Create one Cloud Function as a backend service exposed using an HTTPS load balancer.You have written a Cloud Function that accesses other Google Cloud resources. You want to secure the environment using the principle of least privilege.
What should you do?
A. Create a new service account that has Editor authority to access the resources. The deployer is given permission to get the access token.You are developing a new API that creates requests on an asynchronous message service. Requests will be consumed by different services. You need to expose the API by using a gRPC interface while minimizing infrastructure management overhead.
How should you deploy the API?
A. Deploy your API to App Engine. Create a Pub/Sub topic, and configure your API to push messages to the topic.For this question, refer to the HipLocal case study.
Which Google Cloud product addresses HipLocal's business requirements for service level indicators and objectives?
A. Cloud ProfilerYou are developing an application using different microservices that must remain internal to the cluster. You want the ability to configure each microservice with a specific number of replicas. You also want the ability to address a specific microservice from any other microservice in a uniform way, regardless of the number of replicas the microservice scales to. You plan to implement this solution on Google Kubernetes Engine.
What should you do?
A. Deploy each microservice as a Deployment. Expose the Deployment in the cluster using a Service, and use the Service DNS name to address it from other microservices within the cluster.You are about to deploy an application hosted on a Compute Engine instance with Windows OS and Cloud SQL. You plan to use the Cloud SQL Auth Proxy for connectivity to the Cloud SQL instance. You plan to follow Google-recommended practices and the principle of least privilege. You have already created a custom service account.
What should you do next?
A. Create and assign a custom role with the cloudsql.instances.connect permission to the custom service account. Adjust the Cloud SQL Auth Proxy start command to specify your instance connection name.Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PROFESSIONAL-CLOUD-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.