Google Cloud Platform (GCP) LinkedIn Skill Assessment Answer

Rate this post

Here, We see Google Cloud Platform (GCP) LinkedIn Skill Assessment Answers. This assessment test consists 15-20 MCQs to demonstrate your knowledge in your selected skills. MCQs comes from different topics – Google Cloud Platform Compute, Data, Security, Services, Setup.

Table of Contents

Q1. You want to schedule a cron job to send a message to a Cloud Pub/Sub topic hourly. What do you do?

  1. Create a Cloud Function with a target of HTTP
  2. Create a Cloud Scheduler job with a target of HTTP
  3. Create a Cloud Function with a target of Cloud Pub/Sub✔️
  4. Create a Cloud Scheduler job with a target of Cloud Pub/Sub

Q2. You want to set up a managed Apache Spark cluster. Which service do you configure?

  1. Cloud Dataprep
  2. Cloud Composer
  3. Cloud Dataflow
  4. Cloud Dataproc✔️

Q3. GCP Organizations are not available in your GCP project. What type of account are you using?

  1. Temporary
  2. Free Tier✔️
  3. Local
  4. Organizational

Q4. What feature do you need to enable to support load balancing and autoscaling managed instance groups for Compute Engine?

  1. metadata
  2. security scans
  3. network endpoint groups
  4. health checks✔️

Q5. You are designing an application that will send messages with the MQTT protocol. What service should you use?

  1. BigQuery
  2. Cloud Pub/Sub✔️
  3. IoT Broker
  4. Bigtable

Q6. You want to configure services to host a mobile application that uses TensorFlow Lite models. Which services should you use?

  1. Cloud Functions and ML Kit
  2. Firebase and AI Platform jobs
  3. Firebase and ML Kit✔️
  4. Cloud Functions and AI Platform jobs

Q7. You need to deploy Redis with unique persistent identities and stable hostnames on GKE. What type of deployment object do you use?

  1. GCP deployment
  2. YAML configuration file✔️
  3. Python nested template
  4. stateful set

Q8. You want to try out a machine-learning TensorFlow example notebook with the fewest configuration steps on GCP. What do you do?

  1. Upload the notebook to Google Colaboratory. Set the hardware accelerator to use GPU.
  2. Create a notebook instance with TPU. Upload the notebook to the instance.✔️
  3. Create a notebook instance with GPU. Upload the notebook to the instance.
  4. Upload the notebook to Google Colaboratory. Set the hardware accelerator to use TPU.

Q9. You need to configure a data retention policy for a Cloud Storage bucket to govern how long objects in the bucket must be retained. What feature do you enable?

  1. Requester Pays
  2. Bucket Lock✔️
  3. Bucket Policy Only
  4. Encryption Type

Q10. To be able to configure an existing Cloud Function, what information should you review and from which location?

  1. execution time in Cloud Storage logs
  2. execution time in Stackdriver logs
  3. text payload in Stackdriver logs✔️
  4. text payload in Cloud Storage logs

Q11. You need to execute a “lift and shift” move with as few steps as possible. Which items do you need to create to accomplish this task, listed in the correct order of creation?

  1. Create a VPN from GCP to your corporate network. 2. Create a GCP network for the project. 3. Create the VM instances to support the application.

Q12. You are concerned about data egress charges for files in a Cloud Storage bucket. What configuration change should you make?

  1. Enable Requester Pays on the project.
  2. Enable Requester Pays on the bucket.
  3. Change the default storage class from multi-regional to regional.✔️
  4. Change the default storage class from regional to multi-regional.

Q13. You need to troubleshoot an Android app that uses Cloud Storage. Where do you look for logs?

  1. Firebase Crashlytics
  2. Firebase Crashlytics and Stackdriver✔️
  3. Firebase Testlab and Stackdriver
  4. Stackdriver

Q14. You want to configure services to be able to perform a regular interactive query of Google AdWords data. What should you do?

  1. Plan to use BigQuery. Create a BigQuery data set to hold the data.
  2. Plan to use Cloud SQL. Enable Cloud SQL Transfer Data API.
  3. Plan to use Cloud SQL. Create a Cloud SQL Database to hold the data.
  4. Plan to user BigQuery. Enable BigQuery Transfer Data API.✔️

Q15. You want to use GCP-preferred base container images. Where can your users find these images?

  1. Docker Hub
  2. Compute Engine base images
  3. GCP Marketplace✔️
  4. Google Kubernetes Engine base images

Q16. You want to set a notification for service spend in GCP. What do you do, and who will be notified?

  1. Use the GCP Billing console Budgets section to set a billing alert. The billing admin will be notified if the alert threshold is exceeded.✔️
  2. Use the GCP Billing console Budgets section to set a billing alert. The organizational admin will be notified if the alert threshold is exceeded.
  3. Use the GCP Organizational console Budgets section to set a billing alert. The project admin will be notified if the alert threshold is exceeded.
  4. Use the GCP Organizational console Budgets section to set a billing alert. The organizational admin will be notified if the alert threshold is exceeded.

Q17. Cloud SQL supports which two relational databases?

  1. Redis and Oracle
  2. MySQL and Oracle
  3. Redis and PostgreSQL
  4. MySQL and PostgreSQL✔️

Q19. You want to quickly test a single Docker container image that will start a stateless HTTP service on GCP. Which service do you select to host your container image?

  1. Cloud Run
  2. Cloud Run on Google Kubernetes Engine
  3. Cloud Functions
  4. Google Kubernetes Engine✔️

Q20. You want to develop Firebase security rules following Google best practices. Which tool(s) do you use?

  1. Firebase Emulator✔️
  2. Firebase Emulator and GCP Rules Simulator
  3. GCP policy emulator and Firebase Rules Simulator
  4. Firebase Emulator and Firebase Rules Simulator

Q21. You want to build an application with conversation interpretation based on machine learning speech understanding. Which service is a best fit for this scenario?

  1. Dialogflow✔️
  2. Natural Language Translation
  3. Speech API
  4. AutoML Natural Language

Q22. Which service must you enable on your GKE cluster in order to use Cloud Run on Google Kubernetes Engine (GKE)?

  1. Stackdriver✔️
  2. Istio
  3. Knative
  4. Spinnaker

Q23. How can you enable clients inside a GKE cluster to be able to contact Pods?

  1. Configure the clients to connect via the default cluster IP.
  2. Configure an external name. Configure the clients to connect via the external name.
  3. Configure a node port. COnfigure the clients to connect via the node port.✔️
  4. Configure a load balancer. Configure the clients to connect via the load balancer.

Q24. You want to capture the message acknowledgment state of a subscription at a given time. What do you do?

  1. Create a Cloud Pub/Sub subscription backup.
  2. Create a Cloud Pub/Sub subscription topic.
  3. Create a Cloud Pub/Sub subscription snapshot.✔️
  4. Create a Cloud Pub/Sub subscription.

Q25. You need to set a bucket storage class for data that will be accessed once a month or less. Which type do you select?

  1. coldline
  2. multi-regional
  3. regional
  4. nearline✔️

Q26. Which command copies a file named test.txt to a Cloud Storage bucket named myBucket?

  1. gcloud cp gs://myBucket test.txt
  2. gsutil cp gs://myBucket test.txt
  3. gcloud cp test.txt gs://myBucket
  4. gsutil cp test.txt gs://myBucket✔️

Q27. Which command adds a column family named cf1 to your Bigtable table named my-table?

  1. cbt createfamily cf1 my-table
  2. cbt createfamily my-table cf1✔️
  3. gcloud createfamily cf1 my-table cf1
  4. gcloud createfamily my-table cf1

Q28. Which command do you use to connect to a running Compute Engine instance with SSH?

  1. gcloud ssh compute [instance_name] --zone=[zone]
  2. compute ssh connect [instance_name] --zone=[zone]
  3. gcloud compute ssh [instance_name] --zone=[zone]✔️
  4. compute connect ssh [instance_name] --zone=[zone]

Q29. You need to set CORS for some objects in a bucket for a client-side application. What do you do?

  1. Segment the objects into two buckets. For the CORS objects, set the CORS policy at the bucket level.
  2. Segment the objects into two buckets. For the CORS objects, set the CORS policy at the bucket level. Add client-side code to handle the requests.✔️
  3. Leave the objects in one bucket. Set the CORS policy at the object level.
  4. Leave the objects in one bucket. Set the CORS policy at the object level. Add client-side code to handle the requests.

Q30. For your application, you are building a CI/CD pipeline that logs information when a message is sent to a queue. Which services should you select?

  1. Cloud Functions and Cloud Spanner
  2. Cloud Functions and Cloud Pub/Sub✔️
  3. Cloud Run and Cloud Pub/Sub
  4. Cloud Run and Cloud Spanner

Q31. You need to create instances with identical configurations that cannot be changed. Which Compute Engine feature do yo use?

  1. instance templates✔️
  2. instance groups
  3. snapshots
  4. instances

Q32. You want to automatically perform security scans on user-developed containers. Where should you advise your users to host their containers?

  1. Google Container Registry✔️
  2. GitLab
  3. Artifactory
  4. Docker Hub

Q33. You need to control incoming and outgoing traffic to a Compute Engine instance. What do yo do?

  1. Configure firewall rules.✔️
  2. Configure VPC Network Peering.
  3. Configure routes.
  4. Configure external IP addresses.

Q34. Which object is a container for GCP services instances?

  1. group
  2. folder
  3. project
  4. organization

Q35. What is needed to access GCP APIs in your project?

  1. GCP VMs
  2. GCP buckets
  3. GCP credentials
  4. GCP users✔️

reference link

Q36. Which object is used to hold payment information for a GCP project?

  1. organization
  2. billing account✔️
  3. folder
  4. payment account

reference link

Q37. You need to cache your HTTP and HTTPS static content closer to users, so that you can get faster delivery and reduce serving costs. Which service do you set up?

  1. Cloud DNS
  2. Cloud NAT
  3. Cloud CDN✔️
  4. Cloud Load Balancing

reference link

Q38. You are designing security for an IoT device application. What best practices should you include in your design?

  1. Use a private key for each device. Keep the private key secret.
  2. Use a public key for each device. Keep the public key secret.
  3. Use a public private key pair for each device. Keep the public key secret.
  4. Use a public private key pair for each device. Keep the private key secret.✔️

reference link

Q39. You need to set a WordPress site with high availability on GCP using the fewest steps. What do you do?

  1. Configure and launch the WordPress HA deployment template from the GCP Marketplace.
  2. Configure and launch the WordPress HA deployment template from the WordPress Marketplace.
  3. Create, configure, and launch a WordPress HA deployment template on Compute Engine.✔️
  4. Create, configure, and launch a WordPress HA deployment template on Google Kubernetes Engine.

Q41. How do you configure Cloud Build to rebuild your image when a change is made to the source code?

  1. Add a Cloud Build trigger, and set it to fire on commit to associate repository.✔️
  2. Add a Cloud Build function, and set it to fire on commit to associate repository.
  3. Add a Cloud Build trigger, and set it to fire on commit to associate registry.
  4. Add a Cloud Build function, and set it to fire on commit to associate registry.

Q42. To be able to decrypt files that were encrypted with a customer-manager key, what conditions must be met?

  1. Specify the decryption key with the same name as the encryption key. At least one version of a key with that name must be enabled.✔️
  2. Specify a decryption key and version with the same name as the encryption key and version. The name key and that version must be enabled.
  3. Specify the decryption key with the same name as the encryption key. The named key and that version must be enabled.
  4. Specify a decryption key and version with the same name as the encryption key and version. At least one version of a key with that name must be enabled.

Q43. You want to encrypt a Compute Engine. What do you need to do?

  1. Nothing. Images are encrypted by default with a Google-managed key.✔️
  2. Nothing. Images are encrypted by default with a customer-managed key.
  3. Associate you image with a customer-managed key to encrypt it.
  4. Associate you image with a Google-managed key to encrypt it.

Reference

Q44. You want to quickly evaluate Cloud Filestore. What are the steps, in order, to set up a test environment?

1. Create a Filestore instance.
2. Mount the fileshare from that instance on a client VM instance.
3. Create a Compute Instance VM to be the client.
4. Create a file on the mounted fileshare.
1. Create a Filestore instance.
2. Mount the fileshare from that instance on a client VM instance.
3. Create a file on the mounted file share.
4. Create a Compute Instance VM to be the client.
  1. ✔️
1. Create a Compute Instance VM to be the client.
2. Create a Filestore instance.
3. Mount the file share from that instance on a client VM instance.
4. Create a file on the mounted fileshare.
1. Create a Compute Instance VM to be the client.
2. Create a Cloud Filestore instance.
3. Mount the fileshare from that instance on a client VM instance.
4. Create a file on the mounted file share.

Reference

Q45. You need to optimize spending for always-on Compute Engine virtual machines of certain sizes and types-with minimum effort. What do you do?

  1. Analyze machine usage to verify that machines will be on for more that 25% of the time, and verify that contained use discounts have been automatically applied to your bill.
  2. Analyze machine usage to verify that machines will be on for more that 25% of the time, and verify that sustained use discounts have been automatically applied to your bill.
  3. Analyze machine usage to verify that machines will be on for more than 25% of the time and purchase contained use discounts.
  4. Analyze machine usage to verify that machines will be on for more than 25% of the time and purchase sustained use discounts.

Q46. You are designing a GCP replacement for your on-premises data warehouse. Which service do you select?

  1. Cloud SQL
  2. Bigtable
  3. Cloud Spanner
  4. BigQuery✔️

Source: LinkedIn Assessment Practice mode

Q47. How can you quickly back up a persistent disk on Compute Engine?

  1. Take a snapshot✔️
  2. Create an instance group
  3. Create an instance template
  4. Create an image

Leave a Comment

3 × three =

CRICKET LIVE STREAMING