Easy To Download Google Professional-Cloud-Developer Exam Dumps Updated 400 Questions [Q181-Q202]

Share

Easy To Download Google Professional-Cloud-Developer Exam Dumps Updated 400 Questions

New Updated Professional-Cloud-Developer Exam Questions 2026


Deploying Apps

  • Recommend the Relevant Deployment Strategies with the Relevant Tools for a Target Compute Environment: The consideration for this section includes traffic-splitting deployments, canary deployments, rolling deployments, and green/blue deployments.
  • Use a Service Account: This one covers the students’ skills in downloading and utilizing service account private key files as well as constructing service accounts based on the ethics of least privilege.
  • Deploy Cloud Functions: The next objective requires having the skills in securing Cloud functions, Cloud functions invoked through HTTP, and Cloud functions triggered through events from Google Cloud services.
  • Deploy Applications & Services on the Compute Engine: This area covers bootstrapping of applications, management of service accounts for virtual machines, management of the Compute Engine virtual machine binaries and images, and exporting of application metrics and logs.
  • Deploy Applications & Services to GKE: This subtopic includes the evaluation of one’s skills in deploying containerized applications to GCE, configuring Google Cloud IAM and Kubernetes RBAC relationships, identifying workload specifications, and configuring the Kubernetes namespaces, among others.

 

NEW QUESTION # 181
You want to view the memory usage of your application deployed on Compute Engine. What should you do?

  • A. Use the Google Cloud Platform Console.
  • B. Use the Stackdriver Metrics Explorer.
  • C. Install the Stackdriver Client Library.
  • D. Install the Stackdriver Monitoring Agent.

Answer: B

Explanation:
Reference:
https://stackoverflow.com/questions/43991246/google-cloud-platform-how-to-monitor-memory-usage-of-vm-ins


NEW QUESTION # 182
You have two tables in an ANSI-SQL compliant database with identical columns that you need to quickly combine into a single table, removing duplicate rows from the result set.
What should you do?

  • A. Use the UNION ALL operator in SQL to combine the tables.
  • B. Use the UNION operator in SQL to combine the tables.
  • C. Use nested WITH statements to combine the tables.
  • D. Use the JOIN operator in SQL to combine the tables.

Answer: B


NEW QUESTION # 183
You are developing a corporate tool on Compute Engine for the finance department, which needs to authenticate users and verify that they are in the finance department. All company employees use G Suite.
What should you do?

  • A. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Issue client-side certificates to everybody in the finance team and verify the certificates in the application.
  • B. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Verify the provided JSON Web Token within the application.
  • C. Enable Cloud Identity-Aware Proxy on the HTTP(s) load balancer and restrict access to a Google Group containing users in the finance department. Verify the provided JSON Web Token within the application.
  • D. Configure Cloud Armor Security Policies to restrict access to only corporate IP address ranges. Issue client side certificates to everybody in the finance team and verify the certificates in the application.

Answer: B


NEW QUESTION # 184
Your organization has users and groups configured in an external identity provider (IdP). You want to leverage the same external IdP to allow Google Cloud console access to all employees.
You also want to personalize the sign-in experience by displaying the user's name and photo when users access the Google Cloud console. What should you do?

  • A. Configure a service account for each individual by using the user name and photo, and grant permissions for each user to impersonate their respective service accounts.
  • B. Configure workforce identity federation with the external IdP, and set up attribute mapping.
  • C. Create a Google group that includes organization email IDs for all users. Ask users to use the same name, work email ID, and password to register and sign in.
  • D. Configure workload identity federation to get the external IdP tokens, and use these tokens to sign in to the Google Cloud console.

Answer: B

Explanation:
https://cloud.google.com/identity-platform/docs/web/google


NEW QUESTION # 185
You have containerized a legacy application that stores its configuration on an NFS share. You need to deploy this application to Google Kubernetes Engine (GKE) and do not want the application serving traffic until after the configuration has been retrieved. What should you do?

  • A. Use the gsutil utility to copy files from within the Docker container at startup, and start the service using an ENTRYPOINT script.
  • B. Use the COPY statement in the Dockerfile to load the configuration into the container image. Verify that the configuration is available, and start the service using an ENTRYPOINT script.
  • C. Add a startup script to the GKE instance group to mount the NFS share at node startup. Copy the configuration files into the container, and start the service using an ENTRYPOINT script.
  • D. Create a PersistentVolumeClaim on the GKE cluster. Access the configuration files from the volume, and start the service using an ENTRYPOINT script.

Answer: C

Explanation:
Reference: https://cloud.google.com/compute/docs/instances/startup-scripts/linux


NEW QUESTION # 186
You have developed a Python application that you want to containerize and deploy to Cloud Run.
You have developed a Cloud Build pipeline with the following steps:

After triggering the pipeline, you notice in the Cloud Build logs that the final step of the pipeline fails and the container is unable to be deployed to Cloud Run. What is the cause of this issue, and how should you resolve it?

  • A. The final step uses a Cloud Run instance name that does not match the container name. Update the deployment step so that the Cloud Run instance name matches the container name, and rerun the pipeline.
  • B. Unit tests in the pipeline are failing. Update the application code so that all unit tests pass, and rerun the pipeline.
  • C. The Docker container image has not been pushed to Artifact Registry. Add a step to the pipeline to push the application container image to Artifact Registry, and rerun the pipeline.
  • D. Cloud Run does not allow unauthenticated invocations. Remove the --allow-unauthenticated parameter to enforce authentication on the application, and rerun the pipeline.

Answer: C

Explanation:
The pipeline steps in the image show that the Docker image is built, but there is no step to push the built image to Artifact Registry. Cloud Run requires the container image to be in a registry (such as Artifact Registry or Container Registry) before it can be deployed. Adding a step to push the container image to Artifact Registry after it is built will make the image available for deployment, allowing the final step to deploy the application to Cloud Run successfully.


NEW QUESTION # 187
You need to containerize a web application that will be hosted on Google Cloud behind a global load balancer with SSL certificates. You don't have the time to develop authentication at the application level, and you want to offload SSL encryption and management from your application. You want to configure the architecture using managed services where possible What should you do?

  • A. Host the application on Google Kubernetes Engine, and deploy cert-manager to manage SSL certificates.
  • B. Host the application on Google Kubernetes Engine, and deploy an NGINX Ingress Controller to handle authentication.
  • C. Host the application on Compute Engine, and configure Cloud Endpoints for your application.
  • D. Host the application on Google Kubernetes Engine and use Identity-Aware Proxy (IAP) with Cloud Load Balancing and Google-managed certificates.

Answer: D


NEW QUESTION # 188
You have deployed an HTTP(s) Load Balancer with the gcloud commands shown below.

Health checks to port 80 on the Compute Engine virtual machine instance are failing and no traffic is sent to your instances. You want to resolve the problem.
Which commands should you run?

  • A. gcloud compute instances add-tags ${NAME}-backend-instance-1 --tags http-server
  • B. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --source-ranges 130.211.0.0/22,35.191.0.0/16 --direction INGRESS
  • C. gcloud compute instances add-access-config ${NAME}-backend-instance-1
  • D. gcloud compute firewall-rules create allow-lb --network load-balancer --allow tcp --destination-ranges 130.211.0.0/22,35.191.0.0/16 --direction EGRESS

Answer: B


NEW QUESTION # 189
The new version of your containerized application has been tested and is ready to deploy to production on Google Kubernetes Engine. You were not able to fully load-test the new version in pre-production environments, and you need to make sure that it does not have performance problems once deployed. Your deployment must be automated. What should you do?

  • A. Deploy the application using kubectl and set the spec.updateStrategv.type to RollingUpdate. Use Cloud Monitoring to look for performance issues, and run the kubectl rollback command if there are any issues.
  • B. Use Cloud Load Balancing to slowly ramp up traffic between versions. Use Cloud Monitoring to look for performance issues.
  • C. Deploy the application via a continuous delivery pipeline using blue/green deployments. Use Cloud Monitoring to look for performance issues, and launch fully when the metrics support it.
  • D. Deploy the application via a continuous delivery pipeline using canary deployments. Use Cloud Monitoring to look for performance issues. and ramp up traffic as the metrics support it.

Answer: C

Explanation:
https://cloud.google.com/architecture/implementing-deployment-and-testing-strategies-on-gke#perform_a_bluegreen_deployment


NEW QUESTION # 190
You have an application controlled by a managed instance group. When you deploy a new version of the application, costs should be minimized and the number of instances should not increase. You want to ensure that, when each new instance is created, the deployment only continues if the new instance is healthy. What should you do?

  • A. Perform a rolling-action with maxHealthy set to 1, maxUnhealthy set to 0.
  • B. Perform a rolling-action with maxSurge set to 1, maxUnavailable set to 0.
  • C. Perform a rolling-action with maxSurge set to 0, maxUnavailable set to 1
  • D. Perform a rolling-action with maxHealthy set to 0, maxUnhealthy set to 1.

Answer: B

Explanation:
Reference:
https://cloud.google.com/compute/docs/instance-groups/rolling-out-updates-to-managed-instance-groups


NEW QUESTION # 191
You manage a microservices application on Google Kubernetes Engine (GKE) using Istio. You secure the communication channels between your microservices by implementing an Istio AuthorizationPolicy, a Kubernetes NetworkPolicy, and mTLS on your GKE cluster. You discover that HTTP requests between two Pods to specific URLs fail, while other requests to other URLs succeed. What is the cause of the connection issue?

  • A. The Pod initiating the HTTP requests is attempting to connect to the target Pod via an incorrect TCP port.
  • B. A Kubernetes NetworkPolicy resource is blocking HTTP traffic between the Pods.
  • C. The cluster has mTLS configured in permissive mode, but the Pod's sidecar proxy is sending unencrypted traffic in plain text.
  • D. The Authorization Policy of your cluster is blocking HTTP requests for specific paths within your application.

Answer: D


NEW QUESTION # 192
Your development team is using Cloud Build to promote a Node.js application built on App Engine from your staging environment to production. The application relies on several directories of photos stored in a Cloud Storage bucket named webphotos-staging in the staging environment. After the promotion, these photos must be available in a Cloud Storage bucket named webphotos-prod in the production environment. You want to automate the process where possible. What should you do?
A)
Manually copy the photos to webphotos-prod.
B)
Add a startup script in the application's app.yami file to move the photos from webphotos-staging to webphotos-prod.
C)
Add a build step in the cloudbuild.yaml file before the promotion step with the arguments:

D)
Add a build step in the cloudbuild.yaml file before the promotion step with the arguments:

  • A. Option C
  • B. Option B
  • C. Option D
  • D. Option A

Answer: A

Explanation:
https://cloud.google.com/storage/docs/gsutil/commands/cp


NEW QUESTION # 193
You need to deploy an internet-facing microservices application to Google Kubernetes Engine (GKE). You want to validate new features using the A/B testing method. You have the following requirements for deploying new container image releases:
- There is no downtime when new container images are deployed.
- New production releases are tested and verified using a subset of
production users.
What should you do?

  • A. 1. Implement a rolling update pattern by replacing the Pods gradually with the new release version.
    2. Validate the application's performance for the new subset of users during the rollout, and roll back if an issue arises.
  • B. 1. Create a second namespace on GKE for the new release version.
    2. Create a Deployment configuration for the second namespace with the desired number of Pods.
    3. Deploy new container versions in the second namespace.
    4. Update the Ingress configuration to route traffic to the namespace with the new container versions.
  • C. 1. Configure your CI/CD pipeline to update the Deployment manifest file by replacing the container version with the latest version.
    2. Recreate the Pods in your cluster by applying the Deployment manifest file.
    3. Validate the application's performance by comparing its functionality with the previous release version, and roll back if an issue arises.
  • D. 1. Install the Anthos Service Mesh on your GKE cluster.
    2. Create two Deployments on the GKE cluster, and label them with different version names.
    3. Implement an Istio routing rule to send a small percentage of traffic to the Deployment that references the new version of the application.

Answer: D

Explanation:
https://cloud.google.com/architecture/implementing-deployment-and-testing-strategies-on- gke#perform_an_ab_test To try this pattern, you perform the following steps:
Deploy the current version of the application (app:current) on the GKE cluster.
Deploy a new version of the application (app:new) alongside the current version.
Use Istio to route incoming requests that have the username test in the request's cookie to app:new. All other requests are routed to app:current.


NEW QUESTION # 194
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 the application to generate metrics or logs.
Which alert condition should you configure?

  • A. Metric threshold
  • B. Uptime check
  • C. Metric absence
  • D. Process health

Answer: D

Explanation:
Reference:
https://cloud.google.com/monitoring/alerts/concepts-indepth


NEW QUESTION # 195
You need to migrate a standalone Java application running in an on-premises Linux virtual machine (VM) to Google Cloud in a cost-effective manner. You decide not to take the lift-and-shift approach, and instead you plan to modernize the application by converting it to a container. How should you accomplish this task?

  • A. Use Migrate for Anthos to migrate the VM to your Google Kubernetes Engine (GKE) cluster as a container.
  • B. Export the VM as a raw disk and import it as an image. Create a Compute Engine instance from the Imported image.
  • C. Use Jib to build a Docker image from your source code, and upload it to Artifact Registry. Deploy the application in a GKE cluster, and test the application.
  • D. Use Migrate for Compute Engine to migrate the VM to a Compute Engine instance, and use Cloud Build to convert it to a container.

Answer: C

Explanation:
Explanation
https://cloud.google.com/blog/products/application-development/introducing-jib-build-java-docker-images-bette


NEW QUESTION # 196
Your development team has been asked to refactor an existing monolithic application into a set of composable microservices. Which design aspects should you implement for the new application?
(Choose two.)

  • A. Develop the microservice code in the same programming language used by the microservice caller.
  • B. Create an API contract agreement between the microservice implementation and microservice caller.
  • C. Require asynchronous communications between all microservice implementations and microservice callers.
  • D. Implement a versioning scheme to permit future changes that could be incompatible with the current interface.
  • E. Ensure that sufficient instances of the microservice are running to accommodate the performance requirements.

Answer: B,D

Explanation:
https://cloud.google.com/architecture/migrating-a-monolithic-app-to-microservices- gke#api_contracts Each microservice should be invoked only from a set of interfaces. Each interface should in turn be clearly defined by a contract that can be implemented using an API definition language like the OpenAPI Initiative specification or RAML. Having well-defined API contracts and interfaces allows you to develop tests as a main component of your solution (for example, by applying test-driven development) against these API interfaces.
https://cloud.google.com/architecture/migrating-a-monolithic-app-to-microservices-gke#versioning To give you flexibility in managing updates that might break existing clients, you should implement a versioning scheme for your microservices. Versioning lets you deploy updated versions of a microservice without affecting the clients that are using an existing version.


NEW QUESTION # 197
Lew is not certain that his Apple ID is working correctly in macOS. Which of the following methods would allow Lew to verify that he is using his correct Apple ID in macOS?

  • A. Click the Apple menu, select Apple ID, and ensure that Lew's Apple ID is listed.
  • B. Go to the My Apple ID page (appleid.apple.com) and verify the account is signed in.
  • C. Open System Preferences, click iCloud, and verify that the account is signed in.
  • D. Open the Apple ID pane in System Preferences.

Answer: C

Explanation:
Explanation/Reference: https://appletoolbox.com/how-to-sign-in-and-sign-out-of-icloud-on-macos-catalina/


NEW QUESTION # 198
You are deploying your application on a Compute Engine instance that communicates with Cloud SQL. You will use Cloud SQL Proxy to allow your application to communicate to the database using the service account associated with the application's instance. You want to follow the Google-recommended best practice of providing minimum access for the role assigned to the service account. What should you do?

  • A. Assign the Project Editor role.
  • B. Assign the Project Owner role.
  • C. Assign the Cloud SQL Client role.
  • D. Assign the Cloud SQL Editor role.

Answer: C

Explanation:
https://cloud.google.com/sql/docs/mysql/roles-and-permissions


NEW QUESTION # 199
Your ecommerce application has a rapidly growing user base, and it is experiencing performance issues due to excessive requests to your backend API. Your team develops and manages this API. The Cloud SQL backend database is struggling to handle the high demand, leading to latency and timeouts. You need to implement a solution that optimizes API performance and improves user experience. What should you do?

  • A. Use Apigee to expose your API. Use Memorystore for Redis to cache frequently accessed data.
    Implement exponential backoff in the application to retry failed requests.
  • B. Use Cloud Load Balancing to expose your API. Use Cloud CDN in front of the load balancer to cache responses. Implement exponential backoff to retry failed requests.
  • C. Use Cloud Load Balancing to expose your API. Increase the memory for the database instances to handle more concurrent requests. Implement a custom rate-limiting mechanism in your application code to control API requests.
  • D. Use Apigee to expose your API. Implement rate limiting and access control policies in Apigee to control API traffic. Use Pub/Sub to queue requests to prevent database overload.

Answer: A

Explanation:
https://cloud.google.com/sql/docs/mysql/admin-api/how-tos/performance


NEW QUESTION # 200
Case Study 1 - HipLocal
Company Overview
HipLocal is a community application designed to facilitate communication between people in close proximity. It is used for event planning and organizing sporting events, and for businesses to connect with their local communities. HipLocal launched recently in a few neighborhoods in Dallas and is rapidly growing into a global phenomenon. Its unique style of hyper-local community communication and business outreach is in demand around the world.
Executive Statement
We are the number one local community app; it's time to take our local community services global. Our venture capital investors want to see rapid growth and the same great experience for new local and virtual communities that come online, whether their members are 10 or 10000 miles away from each other.
Solution Concept
HipLocal wants to expand their existing service, with updated functionality, in new regions to better serve their global customers. They want to hire and train a new team to support these regions in their time zones. They will need to ensure that the application scales smoothly and provides clear uptime data.
Existing Technical Environment
HipLocal's environment is a mix of on-premises hardware and infrastructure running in Google Cloud Platform. The HipLocal team understands their application well, but has limited experience in global scale applications. Their existing technical environment is as follows:
* Existing APIs run on Compute Engine virtual machine instances hosted in GCP.
* State is stored in a single instance MySQL database in GCP.
* Data is exported to an on-premises Teradata/Vertica data warehouse.
* Data analytics is performed in an on-premises Hadoop environment.
* The application has no logging.
* There are basic indicators of uptime; alerts are frequently fired when the APIs are unresponsive.
Business Requirements
HipLocal's investors want to expand their footprint and support the increase in demand they are seeing. Their requirements are:
* Expand availability of the application to new regions.
* Increase the number of concurrent users that can be supported.
* Ensure a consistent experience for users when they travel to different regions.
* Obtain user activity metrics to better understand how to monetize their product.
* Ensure compliance with regulations in the new regions (for example, GDPR).
* Reduce infrastructure management time and cost.
* Adopt the Google-recommended practices for cloud computing.
Technical Requirements
* The application and backend must provide usage metrics and monitoring.
* APIs require strong authentication and authorization.
* Logging must be increased, and data should be stored in a cloud analytics platform.
* Move to serverless architecture to facilitate elastic scaling.
* Provide authorized access to internal apps in a secure manner.
HipLocal's data science team wants to analyze user reviews.
How should they prepare the data?

  • A. Use the Cloud Data Loss Prevention API for de-identification of the review dataset.
  • B. Use the Cloud Data Loss Prevention API for redaction of the review dataset.
  • C. Use the Cloud Natural Language Processing API for redaction of the review dataset.
  • D. Use the Cloud Natural Language Processing API for de-identification of the review dataset.

Answer: A

Explanation:
https://cloud.google.com/architecture/de-identification-re-identification-pii-using-cloud-dlp De-identification of PII in large-scale datasets using Cloud DLP.
Cloud DLP enables transformations such as redaction, masking, tokenization, bucketing, and other methods of de-identification.


NEW QUESTION # 201
You are creating an App Engine application that writes a file to any user's Google Drive.
How should the application authenticate to the Google Drive API?

  • A. With an OAuth Client ID with delegated domain-wide authority.
  • B. With an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.
  • C. With the App Engine service account with delegated domain-wide authority.
  • D. With the App Engine service account and https://www.googleapis.com/auth/drive.file scope that generates a signed JWT.

Answer: B

Explanation:
https://developers.google.com/drive/api/v3/about-auth


NEW QUESTION # 202
......

Updated Free Google Professional-Cloud-Developer Test Engine Questions with 400 Q&As: https://www.prep4sureexam.com/Professional-Cloud-Developer-dumps-torrent.html

The Best Cloud Developer Professional-Cloud-Developer Professional Exam Questions: https://drive.google.com/open?id=1PZ7bGjkhiyimlkqhG9Nzh9M5BF6mTdl4