PROFESSIONAL-CLOUD-DEVELOPER Practice Questions
394 real PROFESSIONAL-CLOUD-DEVELOPER exam questions with expert-verified answers and explanations. Page 1 of 8.
- Question #1Designing Bigtable schemas
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 t...
Cloud BigtableRow Key DesignSchema DesignNoSQL Databases - Question #2Monitoring, logging, and troubleshooting applications
You want to view the memory usage of your application deployed on Compute Engine. What should you do?
Cloud MonitoringCompute EngineMonitoring AgentsApplication Observability - Question #3Monitoring and Troubleshooting Applications
You have an analytics application that runs hundreds of queries on BigQuery every few minutes using BigQuery API. You want to find out how much time these queries take to execute....
Cloud MonitoringBigQueryPerformance MonitoringQuery Metrics - Question #4Designing and Implementing Data Storage Solutions
You are designing a schema for a Cloud Spanner customer database. You want to store a phone number array field in a customer table. You also want to allow users to search customers...
Cloud SpannerSchema DesignData ModelingIndexing - Question #5Deploying and configuring applications
What should you do?
Domain ownership verificationGoogle Search ConsoleCustom domainsApplication deployment - Question #6Ensuring application security
You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS attacks. Which serv...
Application securityVulnerability scanningCloud Security ScannerApp Engine - Question #7Designing and building cloud-native applications
You are working on a social media application. You plan to add a feature that allows users to upload images. These images will be 2 MB ?1 GB in size. You want to minimize their inf...
Cloud StorageSigned URLsObject StorageManaged Services - Question #8Configuring Compute Engine instances and deployments
Your application is built as a custom machine image. You have multiple unique deployments of the machine image. Each deployment is a separate managed instance group with its own te...
Compute EngineInstance MetadataManaged Instance GroupsConfiguration Management - Question #9Monitoring, logging, and troubleshooting applications
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 s...
App EngineCloud LoggingPerformance DiagnosisTroubleshooting - Question #10Optimizing application performance
You have an application running in App Engine. Your application is instrumented with Stackdriver Trace. The /product-details request reports details about four known unique product...
Performance OptimizationApp EngineMicroservicesConcurrency - Question #11Building and Operating Data Solutions
Your company has a data warehouse that keeps your application information in BigQuery. The BigQuery data warehouse keeps 2 PBs of user data. Recently, your company expanded your us...
BigQuery Data ResidencyData ComplianceBigQuery DMLRegional Datasets - Question #12Deploying applications
Your App Engine standard configuration is as follows: service: production instance_class: B1 You want to limit the application to 5 instances. Which code snippet should you include...
App EngineScalingInstance managementConfiguration - Question #13Integrating Google Cloud services with applications: Security and Access
Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI. Then it redirects t...
BigQuery IAMPermissions ManagementService AccountsBigQuery CLI - Question #14Troubleshooting Compute Engine instances
Your application is running on Compute Engine and is showing sustained failures for a small number of requests. You have narrowed the cause down to a single Compute Engine instance...
Compute Engine TroubleshootingVM Instance DiagnosticsSerial Console OutputUnresponsive Instances - Question #15Optimizing Compute Engine Performance
You configured your Compute Engine instance group to scale automatically according to overall CPU usage. However, your application's response latency increases sharply before the c...
Compute EngineAutoscalingPerformance TuningInstance Groups - Question #16Deploying applications
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 i...
Managed Instance GroupsRolling UpdatesDeployment StrategiesCompute Engine - Question #17Develop secure applications
Your application requires service accounts to be authenticated to GCP products via credentials stored on its host Compute Engine virtual machine instances. You want to distribute t...
Service AccountsApplication Default CredentialsCompute EngineSecurity Best Practices - Question #18Deploying Applications on Google Kubernetes Engine
Your application is deployed in a Google Kubernetes Engine (GKE) cluster. You want to expose this application publicly behind a Cloud Load Balancing HTTP(S) load balancer. What sho...
GKEKubernetes IngressHTTP(S) Load BalancerApplication Deployment - Question #19Designing and Implementing Data Processing Solutions
Your company is planning to migrate their on-premises Hadoop environment to the cloud. Increasing storage cost and maintenance of data stored in HDFS is a major concern for your co...
Cloud DataprocHadoop MigrationBig DataManaged Services - Question #20Troubleshooting and optimizing application performance
Your data is stored in Cloud Storage buckets. Fellow developers have reported that data downloaded from Cloud Storage is resulting in slow API performance. You want to research the...
Cloud StoragegsutilPerformance MonitoringTroubleshooting - Question #21Managing release processes and deployment strategies
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 th...
Docker ImagesImage DigestsCI/CDImmutable Deployments - Question #22Integrating GCP services
Your company has created an application that uploads a report to a Cloud Storage bucket. When the report is uploaded to the bucket, you want to publish a message to a Cloud Pub/Sub...
Cloud StorageCloud Pub/SubEvent-driven architectureGCP Integration - Question #23Implementing Data Storage Solutions
Your teammate has asked you to review the code below, which is adding a credit to an account balance in Cloud Datastore. Which improvement should you suggest your teammate make?
Cloud DatastoreTransactionsData ConsistencyConcurrency Control - Question #24Building and testing applications
Your company stores their source code in a Cloud Source Repositories repository. Your company wants to build and test their code on each source code commit to the repository and re...
Cloud BuildCI/CDContinuous IntegrationManaged Services - Question #25Implementing Security
You are writing a Compute Engine hosted application in project A that needs to securely authenticate to a Cloud Pub/Sub topic in project B. What should you do?
Service AccountsIAMCross-Project AccessCompute Engine - Question #26Securing applications
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...
Identity-Aware Proxy (IAP)AuthenticationAuthorizationAccess Control - Question #27Monitoring, logging, and debugging applications
Your API backend is running on multiple cloud providers. You want to generate reports for the network latency of your API. Which two steps should you take? (Choose two.)
Distributed TracingApplication MonitoringNetwork LatencyMulti-cloud Operations - Question #28Data Storage and Analytics
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 a...
Data AnalyticsBigQueryLoggingDatabase Selection - Question #29Managing application security
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 a...
Network SecurityGCP Firewall RulesAccess ControlHTTPS - Question #30Security and Compliance
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 a...
Data Loss PreventionData PrivacyGDPR ComplianceData Preprocessing - Question #31Designing and building highly scalable and available applications
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 a...
Global DatabasesCloud SpannerScalabilityDatabase Migration - Question #32Deploying Applications
You have an application deployed in production. When a new version is deployed, you want to ensure that all production traffic is routed to the new version of your application. You...
Deployment StrategiesBlue/Green DeploymentApplication DeploymentRollback - Question #33Implementing resilient applications
You have a service running on Compute Engine virtual machine instances behind a global load balancer. You need to ensure that when the instance fails, it is recovered. What should...
Managed Instance Groups (MIGs)Auto-healingCompute EngineHigh Availability - Question #34Optimizing application performance
You are analyzing your application's performance. You observe that certain Cloud Bigtable tables in your cluster are used much more than others, causing inconsistent application pe...
Cloud BigtableRow Key DesignPerformance OptimizationHotspotting - Question #35Implementing Data Storage Solutions
You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc Hadoop cluster in a...
Cloud StoragegsutilData IngestionCloud CLI - Question #36Implementing and managing monitoring, logging, and alerting
You migrated your applications to Google Cloud Platform and kept your existing monitoring platform. You now find that your notification system is too slow for time critical problem...
Cloud MonitoringLoggingAlertingHybrid Cloud - Question #37Integrating Google Cloud Services
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...
Cloud SQLPrivate IPNetworkingCompute Engine Connectivity - Question #38Deploying applications
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...
Firewall RulesLoad BalancerHealth ChecksGoogle Cloud Networking - Question #39Building and deploying applications
Your website is deployed on Compute Engine. Your marketing team wants to test conversion rates between 3 different website designs. Which approach should you use?
App EngineTraffic SplittingA/B TestingDeployment Strategies - Question #40Deploying applications
You need to copy directory local-scripts and all of its contents from your local workstation to a Compute Engine virtual machine instance. Which command should you use?
Compute Enginegcloud CLIFile TransferSCP - Question #41Monitoring, logging, and debugging applications
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....
Cloud MonitoringCompute EngineAlertingProcess Monitoring - Question #42Designing highly scalable, available, and reliable cloud-native applications
Your company has a successful multi-player game that has become popular in the US. Now, it wants to expand to other regions. It is launching a new feature that allows users to trad...
Database selectionCloud SpannerGlobal consistencyHigh availability - Question #43Implementing Data Processing Solutions
Your company plans to expand their analytics use cases. One of the new use cases requires your data analysts to analyze events using SQL on a near real-time basis. You expect rapid...
Streaming DataReal-time AnalyticsData PipelinesManaged Services - Question #44Implementing data persistence
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...
SQLUNION operatorData ManipulationDeduplication - Question #45Deploying applications
You have an application deployed in production. When a new version is deployed, some issues don't arise until the application receives traffic from users in production. You want to...
Deployment StrategiesCanary DeploymentProduction OperationsRisk Mitigation - Question #46Designing highly scalable, available, and reliable cloud-native applications
Your company wants to expand their users outside the United States for their popular application. The company wants to ensure 99.999% availability of the database for their applica...
Cloud SpannerHigh AvailabilityGlobal DeploymentDatabase Scaling - Question #47Application Development on Google Cloud
You need to migrate an internal file upload API with an enforced 500-MB file size limit to App Engine. What should you do?
App EngineFile UploadsAPI DesignMultipart Forms - Question #49Optimizing application performance and cost
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...
BigQueryStreaming InsertsPerformance OptimizationData Ingestion - Question #50Deploying applications
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...
Kubernetes ServicesService DiscoveryGKE ConnectivityIntra-cluster Communication - Question #51Implementing Continuous Integration and Continuous Delivery (CI/CD) pipelines
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 en...
Cloud BuildCustom BuildersCI/CDBuild Tools