Professional Cloud Developer Exam
You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine. What should you do?
Use FTP to upload files.
Use CPanel to upload files.
Use signed URLs to upload files.
Change the API to be a multipart file upload API.
You are planning to deploy your application in a Google Kubernetes Engine (GKE) cluster. The application exposes an HTTP-based health check at /healthz. You want to use this health check endpoint to determine whether traffic should be routed to the pod by the load balancer. Which code snippet should you include in your Pod configuration? A.




Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.

Which improvement should you suggest your teammate make?
Include multiple rows with each request.
Perform the inserts in parallel by creating multiple threads.
Write each row to a Cloud Storage object, then load into BigQuery.
Write each row to a Cloud Storage object in parallel, then load into BigQuery.
You are developing a JPEG image-resizing API hosted on Google Kubernetes Engine (GKE). Callers of the service will exist within the same GKE cluster. You want clients to be able to get the IP address of the service. What should you do?
Define a GKE Service. Clients should use the name of the A record in Cloud DNS to find the service's cluster IP address.
Define a GKE Service. Clients should use the service name in the URL to connect to the service.
Define a GKE Endpoint. Clients should get the endpoint name from the appropriate environment variable in the client container.
Define a GKE Endpoint. Clients should get the endpoint name from Cloud DNS.
You are using Cloud Build to build and test application source code stored in Cloud Source Repositories. The build process requires a build tool not available in the Cloud Build environment. What should you do?
Download the binary from the internet during the build process.
Build a custom cloud builder image and reference the image in your build steps.
Include the binary in your Cloud Source Repositories repository and reference it in your build scripts.
Ask to have the binary added to the Cloud Build environment by filing a feature request against the Cloud Build public Issue Tracker.
Unlock All Questions
You are viewing the free preview. Purchase a plan to access all questions, answers, and detailed explanations.
