GoConqr has a new look! Let us know what you think.

Quiz

GCP

Estephanie Villanueva 103 questions

Take the quiz

Questions in this quiz (103)

  1. 1You need a dynamic way of provisioning VMs on Compute Engine. The exact specification will
    be in a dedicated configuration file. You want to follow Google's recommended practices. Which
    method should you use?
    1. AA. Deployment Manager
    2. BB. Cloud Composer
    3. CC. Managed Instance Group
    4. DD. Unmanaged Instance Group
  2. 2You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
    1. AA. Use kubectl app deploy <dockerfilename>.
    2. BB. Use gcloud app deploy <dockerfilename>.
    3. CC. Create a docker image from the Dockerfile and upload it to Container Registry. Create a
      Deployment YAML file to point to that image. Use kubectl to create the deployment with
      that file.
    4. DD. Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a
      Deployment YAML file to point to that image. Use kubectl to create the deployment with
      that file.
  3. 3Your development team needs a new Jenkins server for their project. You need to deploy the
    server using the fewest steps possible. What should you do?
    1. AA. Download and deploy the Jenkins Java WAR to App Engine Standard.
    2. BB. Create a new Compute Engine instance and install Jenkins through the command line
      interface.
    3. CC. Create a Kubernetes cluster on Compute Engine and create a deployment with the
      Jenkins Docker image.
    4. DD. Use GCP Marketplace to launch the Jenkins solution.
  4. 4You need to update a deployment in Deployment Manager without any resource downtime in
    the deployment. Which command should you use?
    1. AA. gcloud deployment-manager deployments create --config <deployment-config-path>
    2. BB. gcloud deployment-manager deployments update --config <deployment-config-path>
    3. CC. gcloud deployment-manager resources create --config <deployment-config-path>
    4. DD. gcloud deployment-manager resources update --config <deployment-config-path>
  5. 5You need to run an important query in BigQuery but expect it to return a lot of records. You want
    to find out how much it will cost to run the query. You are using on-demand pricing. What should
    you do?
    1. AA. Arrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
    2. BB. Use the command line to run a dry run query to estimate the number of bytes read.
      Then convert that bytes estimate to dollars using the Pricing Calculator.
    3. CC. Use the command line to run a dry run query to estimate the number of bytes returned.
      Then convert that bytes estimate to dollars using the Pricing Calculator
    4. DD. Run a select count (*) to get an idea of how many records your query will look through.
      Then convert that number of rows to dollars using the Pricing Calculator.
  6. 6You have a single binary application that you want to run on Google Cloud Platform. You
    decided to automatically scale the application based on underlying infrastructure CPU usage.
    Your organizational policies require you to use virtual machines directly. You need to ensure
    that the application scaling is operationally efficient and completed as quickly as possible. What
    should you do?
    1. AA. Create a Google Kubernetes Engine cluster, and use horizontal pod autoscaling to scale
      the application.
    2. BB. Create an instance template, and use the template in a managed instance group with
      autoscaling configured.
    3. CC. Create an instance template, and use the template in a managed instance group that
      scales up and down based on the time of day.
    4. DD. Use a set of third-party tools to build automation around scaling the application up and
      down, based on Stackdriver CPU usage monitoring.
  7. 7You are analyzing Google Cloud Platform service costs from three separate projects. You want
    to use this information to create service cost estimates by service type, daily and monthly, for
    the next six months using standard query syntax. What should you do?
    1. AA. Export your bill to a Cloud Storage bucket, and then import into Cloud Bigtable for
      analysis.
    2. BB. Export your bill to a Cloud Storage bucket, and then import into Google Sheets for
      analysis.
    3. CC. Export your transactions to a local file, and perform analysis with a desktop tool.
    4. DD. Export your bill to a BigQuery dataset, and then write time window-based SQL queries
      for analysis.
  8. 8You need to set up a policy so that videos stored in a specific Cloud Storage Regional bucket
    are moved to Coldline after 90 days, and then deleted after one year from their creation. How
    should you set up the policy?
    1. AA. Use Cloud Storage Object Lifecycle Management using Age conditions with
      SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the
      Delete action to 275 days (365 "" 90)
    2. BB. Use Cloud Storage Object Lifecycle Management using Age conditions with
      SetStorageClass and Delete actions. Set the SetStorageClass action to 90 days and the
      Delete action to 365 days.
    3. CC. Use gsutil rewrite and set the Delete action to 275 days (365-90)
    4. DD. Use gsutil rewrite and set the Delete action to 365 days.
  9. 9You have a Linux VM that must connect to Cloud SQL. You created a service account with the
    appropriate access rights. You want to make sure that the VM uses this service account instead
    of the default Compute Engine service account. What should you do?
    1. AA. When creating the VM via the web console, specify the service account under the
      "˜Identity and API Access' section.
    2. BB. Download a JSON Private Key for the service account. On the Project Metadata, add
      that JSON as the value for the key compute-engine-service- account.
    3. CC. Download a JSON Private Key for the service account. On the Custom Metadata of the
      VM, add that JSON as the value for the key compute-engine- service-account.
    4. DD. Download a JSON Private Key for the service account. After creating the VM, ssh into
      the VM and save the JSON under ~/.gcloud/compute-engine-service- account.json.
  10. 10You created an instance of SQL Server 2017 on Compute Engine to test features in the new
    version. You want to connect to this instance using the fewest number of steps. What should
    you do?
    1. AA. Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
    2. BB. Install a RDP client in your desktop. Set a Windows username and password in the GCP
      Console. Use the credentials to log in to the instance.
    3. CC. Set a Windows password in the GCP Console. Verify that a firewall rule for port 22
      exists. Click the RDP button in the GCP Console and supply the credentials to log in.
    4. DD. Set a Windows username and password in the GCP Console. Verify that a firewall rule
      for port 3389 exists. Click the RDP button in the GCP Console, and supply the
      credentials to log in.

Information

Description
Quiz on GCP, created by Estephanie Villanueva on 15/12/2022.
Language
English
Views
4
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?