This page was exported from Exam for engine [ http://blog.test4engine.com ] Export date:Mon Nov 18 2:52:54 2024 / +0000 GMT ___________________________________________________ Title: Prepare Top Google Professional-Cloud-Developer Exam Study Guide Practice Questions Edition [Q20-Q44] --------------------------------------------------- Prepare Top Google Professional-Cloud-Developer Exam Study Guide Practice Questions Edition Go to Professional-Cloud-Developer Questions - Try Professional-Cloud-Developer dumps pdf Section 3: Deploying Apps This topic evaluates the ability of the students to recommend the relevant deployment strategies with the help of the appropriate tools, such as Spinnaker, Cloud Build, Anthos Configuration Manager, and Tekton, for a certain compute environment (for instance, Google Kubernetes Engine, Compute Engine, etc.). The individuals should also possess the skills in deploying apps & services on Compute Engine; deploying apps & services to Google Kubernetes Engine (GKE); deploying Cloud Function. Lastly, they must have the proficiency in utilizing service accounts. Career Opportunity Those individuals who have the Google Professional Cloud Developer certification can take up the job titles, such as Software Engineers, Solutions Architects, Operations Analysts, Web Application Developers, Senior Software Engineers, Information Security Managers, or Data Engineers. The average salary for these positions is $87,000 per annum. Google Professional Cloud Developer Certified Professional salary The average salary of a Google Professional Cloud Developer Certified Expert in India - 27,42,327 INREngland - 135,632 POUNDEurope - 145,347 EUROUnited State - 181,247 USD   NO.20 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?  Uptime check  Process health  Metric absence  Metric threshold Reference:https://cloud.google.com/monitoring/alerts/concepts-indepthNO.21 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?  Deploy the website on App Engine and use traffic splitting.  Deploy the website on App Engine as three separate services.  Deploy the website on Cloud Functions and use traffic splitting.  Deploy the website on Cloud Functions as three separate functions. Reference:https://cloud.google.com/appengine/docs/standard/python/splitting-trafficNO.22 You are a developer working with the CI/CD team to troubleshoot a new feature that your team introduced. The CI/CD team used HashiCorp Packer to create a new Compute Engine image from your development branch. The image was successfully built, but is not booting up. You need to investigate the issue with the CI/CD team. What should you do?  Create a new feature branch, and ask the build team to rebuild the image.  Shut down the deployed virtual machine, export the disk, and then mount the disk locally to access the boot logs.  Install Packer locally, build the Compute Engine image locally, and then run it in your personal Google Cloud project.  Check Compute Engine OS logs using the serial port, and check the Cloud Logging logs to confirm access to the serial port. https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-consoleNO.23 Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.Which storage option should you choose?  Cloud SQL  Cloud Storage  Cloud Spanner  Cloud Datastore/Firestore NO.24 You are developing an ecommerce application that stores customer, order, and inventory data as relational tables inside Cloud Spanner. During a recent load test, you discover that Spanner performance is not scaling linearly as expected. Which of the following is the cause?  The use of 64-bit numeric types for 32-bit numbers.  The use of the STRING data type for arbitrary-precision values.  The use of Version 1 UUIDs as primary keys that increase monotonically.  The use of LIKE instead of STARTS_WITH keyword for parameterized SQL queries. NO.25 You are building an API that will be used by Android and iOS apps The API must:* Support HTTPs* Minimize bandwidth cost* Integrate easily with mobile appsWhich API architecture should you use?  RESTful APIs  MQTT for APIs  gRPC-based APIs  SOAP-based APIs Explanation/Reference: https://www.devteam.space/blog/how-to-build-restful-api-for-your-mobile-app/NO.26 What are the features of using iCloud as a backup method for an iOS device?  Always encrypts backups.  Backups can be encrypted or un-encrypted.  Offers up to 200 TB of storage.  The customer can make backups over cellular networks. Explanation/Reference: https://www.pcworld.com/article/2154792/backups-via-icloud-or-itunes-the-crucial-differences-that- affect-your-data.htmlNO.27 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 issue to provide details to the GCP support team. Which command should you run?  gsutil test -o output.json gs://my-bucket  gsutil perfdiag -o output.json gs://my-bucket  gcloud compute scp example-instance:~/test-data -o output.json gs://my-bucket  gcloud services test -o output.json gs://my-bucket Explanation/Reference: https://groups.google.com/forum/#!topic/gce-discussion/xBl9Jq5HDsYNO.28 Please refer to the following information to answer the questions on the right.Debra has brought her iPad Pro to you for troubleshooting. She has been experiencing very slow charging of the battery and says the only way she can get a full charge is to leave the iPad alone for more than 12 hours.She brought in an Apple Power adapter and Lightning to USB cable. When you examine the power adapter, you notice that it is an iPhone power adapter not an iPad power adapter. You also noticed she was using an iPhone 6s while waiting to see you. Debra thinks her iPad is defective because her iPhone has no issue charging with this power adapter and cable.Based on the information Debra provided, which of the following resources can you share with her that explains the cause of the issue?  GSX Troubleshooting articles  Apple VMI Guide  Apple Support articles  Apple Service Guide Explanation/Reference:NO.29 You manage an application that runs in a Compute Engine instance. You also have multiple backend services executing in stand-alone Docker containers running in Compute Engine instances. The Compute Engine instances supporting the backend services are scaled by managed instance groups in multiple regions. You want your calling application to be loosely coupled. You need to be able to invoke distinct service implementations that are chosen based on the value of an HTTP header found in the request. Which Google Cloud feature should you use to invoke the backend services?  Traffic Director  Service Directory  Anthos Service Mesh  Internal HTTP(S) Load Balancing NO.30 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?  With an OAuth Client ID that uses the https://www.googleapis.com/auth/drive.file scope to obtain an access token for each user.  With an OAuth Client ID with delegated domain-wide authority.  With the App Engine service account and https://www.googleapis.com/auth/drive.file scope that generates a signed JWT.  With the App Engine service account with delegated domain-wide authority. Reference:https://developers.google.com/drive/api/v3/about-authNO.31 You are a SaaS provider deploying dedicated blogging software to customers in your Google Kubernetes Engine (GKE) cluster. You want to configure a secure multi-tenant platform to ensure that each customer has access to only their own blog and can’t affect the workloads of other customers. What should you do?  Enable Application-layer Secrets on the GKE cluster to protect the cluster.  Deploy a namespace per tenant and use Network Policies in each blog deployment.  Use GKE Audit Logging to identify malicious containers and delete them on discovery.  Build a custom image of the blogging software and use Binary Authorization to prevent untrusted image deployments. NO.32 You are load testing your server application. During the first 30 seconds, you observe that a previously inactive Cloud Storage bucket is now servicing 2000 write requests per second and 7500 read requests per second.Your application is now receiving intermittent 5xx and 429 HTTP responses from the Cloud Storage JSON API as the demand escalates. You want to decrease the failed responses from the Cloud Storage API.What should you do?  Distribute the uploads across a large number of individual storage buckets.  Use the XML API instead of the JSON API for interfacing with Cloud Storage.  Pass the HTTP response codes back to clients that are invoking the uploads from your application.  Limit the upload rate from your application clients so that the dormant bucket’s peak request rate is reached more gradually. Reference:https://cloud.google.com/storage/docs/request-rateNO.33 Which service should HipLocal use for their public APIs?  Cloud Armor  Cloud Functions  Cloud Endpoints  Shielded Virtual Machines NO.34 Your existing application keeps user state information in a single MySQL database. This state information is very user-specific and depends heavily on how long a user has been using an application. The MySQL database is causing challenges to maintain and enhance the schema for various users.Which storage option should you choose?  Cloud SQL  Cloud Storage  Cloud Spanner  Cloud Datastore/Firestore Reference:https://cloud.google.com/solutions/migrating-mysql-to-cloudsql-conceptNO.35 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?  gcloud compute instances add-access-config ${NAME}-backend-instance-1  gcloud compute instances add-tags ${NAME}-backend-instance-1 –tags http-server  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  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 Reference:https://cloud.google.com/vpc/docs/special-configurationsNO.36 Which of the following statements empathize with the customer or helps resolve a conflict? (Choose three.)  “Calm down. You are being ridiculous.”  “These devices are expensive, I cannot change that.”  “Please control yourself. That is not how it works.”  “I’m sorry to hear that.”  “I can understand why you are upset.”  “It is not possible to repair it by Monday.”  “You are right. I would be frustrated as well.” NO.37 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 reduce both the impact and the number of users affected.Which deployment strategy should you use?  Blue/green deployment  Canary deployment  Rolling deployment  Recreate deployment Reference:https://thenewstack.io/deployment-strategies/NO.38 Which of the following customer statements would alert you to a safety issue? (Choose two.)  My iPhone flashed and sparked when I tried to charge it.  The corner of my iPad is badly bent.  My iPhone has fluctuating sound levels. Sometimes it is deafening.  The screen is too bright. It hurts my eyes.  My new Apple Watch makes me itchy and my wrist is red and irritated.  The home button on my iPhone seems to have sunk. NO.39 You suspect that the issue Darla describes is a result of how she is using her iPhone. Which of the following is an empathetic and supportive closed question to ask?  Why didn’t you review the iPhone User Guide before you tried to use your phone?  Do you realize how you are using the iPhone is causing your issue?  That is not the correct way of using the iPhone; do you need a demonstration?  Do you mind if I show you a couple of ways I learned to use the iPhone? ExplanationNO.40 April states she would like to use the cellular network from her iPhone to access the Internet for free on her Mac. What true statement can you give April?  “Personal Hotspot can come with additional charges. You should contact your carrier.”  “You must enable Personal Hotspot on your iPhone before the feature can work for free.”  “Personal Hotspot only works on CDMA networks.”  “Personal Hotspot is a great way to access the Internet for free!” NO.41 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 Podconfiguration?         For the GKE ingress controller to use your readinessProbes as health checks, the Pods for an Ingress must exist at the time of Ingress creation. If your replicas are scaled to 0, the default health check will apply.NO.42 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 problems.What should you do?  Replace your entire monitoring platform with Stackdriver.  Install the Stackdriver agents on your Compute Engine instances.  Use Stackdriver to capture and alert on logs, then ship them to your existing platform.  Migrate some traffic back to your old platform and perform AB testing on the two platforms concurrently. Reference:https://cloud.google.com/monitoring/NO.43 Tony would like to create a new Apple ID to use with iTunes. It is his preference not to give his credit card information.Which of the following is the correct statement about his situation?  Tony will have to purchase an iTunes gift card before he can setup his Apple ID.  Tony will have to use a bank account and routing number to setup his Apple ID.  Tony can create an Apple ID in iTunes without a credit card or other payment method.  Tony will not be able to use an Apple ID with iTunes unless he is willing to give credit card information. Explanation/Reference: https://support.apple.com/en-us/HT204034NO.44 You are building a new API. You want to minimize the cost of storing and reduce the latency of serving images.Which architecture should you use?  App Engine backed by Cloud Storage  Compute Engine backed by Persistent Disk  Transfer Appliance backed by Cloud Filestore  Cloud Content Delivery Network (CDN) backed by Cloud Storage  Loading … Free Cloud Developer Professional-Cloud-Developer Exam Question: https://www.test4engine.com/Professional-Cloud-Developer_exam-latest-braindumps.html --------------------------------------------------- Images: https://blog.test4engine.com/wp-content/plugins/watu/loading.gif https://blog.test4engine.com/wp-content/plugins/watu/loading.gif --------------------------------------------------- --------------------------------------------------- Post date: 2022-11-05 11:53:36 Post date GMT: 2022-11-05 11:53:36 Post modified date: 2022-11-05 11:53:36 Post modified date GMT: 2022-11-05 11:53:36