Google Cloud Services Quiz
48 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which step should you take to revert an App Engine application to a previous version?

  • Route 100% of the traffic to the previous version. (correct)
  • Deploy the original version as a separate application.
  • Delete the existing application and deploy again.
  • Clear the traffic routing settings and restart the application.
  • What is the best way to determine the project where your App Engine application was deployed using gcloud app deploy?

  • Go to Cloud Shell and run gcloud config list. (correct)
  • Run gcloud app describe to get details of the app.
  • Check the deployment logs for any errors.
  • Check the app.yaml file for your application.
  • In configuring Compute Engine instances for availability, what setting should be applied for automatic restarts?

  • Enable auto-scaling on the instance group.
  • Set 'Automatic Restart' to on. (correct)
  • Set 'Automatic Restart' to off.
  • Apply manual restart only if instances fail.
  • Which of the following settings should be used for 'On-host maintenance' to ensure high availability during maintenance?

    <p>Migrate VM instance.</p> Signup and view all the answers

    What should you do to ensure that your instances are highly available during system maintenance and crashes?

    <p>Create an instance template and add it to an instance group.</p> Signup and view all the answers

    To achieve autohealing for your Compute Engine instances, what should be done?

    <p>Create an instance group and set the 'Autohealing' health check to healthy.</p> Signup and view all the answers

    When deploying an application using gcloud, what is the impact of incorrectly defined settings in the app.yaml file?

    <p>The application may deploy under an unintended project.</p> Signup and view all the answers

    What is NOT a recommended step after deploying an App Engine application?

    <p>Modify the app.yaml file without displaying any errors.</p> Signup and view all the answers

    What change is needed to ensure PDF files open in the browser without downloading?

    <p>Set Content-Type metadata to application/pdf on the PDF file objects.</p> Signup and view all the answers

    What is the first step required to upgrade a virtual machine to have 8 GB of memory?

    <p>Stop the VM, increase the memory to 8 GB, and start the VM.</p> Signup and view all the answers

    Which VPC configuration allows production and test workloads to reach each other over Internal IP?

    <p>Create a single custom VPC with 2 subnets in different regions.</p> Signup and view all the answers

    What may happen if the PDF file objects do not have the correct Content-Type metadata?

    <p>Browsers may download the files instead of opening them.</p> Signup and view all the answers

    What is necessary to change the memory allocation for a virtual machine?

    <p>Stop the VM before changing the memory allocation.</p> Signup and view all the answers

    In setting up a VPC with production and test workloads, what configuration is NOT appropriate?

    <p>Both subnets having the same CIDR range in different regions.</p> Signup and view all the answers

    What would be the outcome of increasing the memory on a VM without stopping it first?

    <p>There will be no change until the VM is stopped and restarted.</p> Signup and view all the answers

    Which aspect of cloud architecture directly affects the ability of VMs to communicate internally?

    <p>VPC and subnet configurations.</p> Signup and view all the answers

    How can you verify the users and roles assigned within a GCP project named my-project?

    <p>Navigate to the project and then to the IAM section in the GCP Console to review the members and roles.</p> Signup and view all the answers

    What initial step should you take to create a new billing account and link it to an existing GCP project?

    <p>Verify that you are Project Billing Manager for the GCP project.</p> Signup and view all the answers

    If you want to use a service account from proj-sa to take snapshots of VMs in proj-vm, what should you do first?

    <p>Grant the service account necessary permissions in proj-vm.</p> Signup and view all the answers

    What role provides the necessary permission to link a new billing account to an existing project?

    <p>Project Billing Manager.</p> Signup and view all the answers

    What command is used to retrieve login credentials for a VM after its creation?

    <p>gcloud compute reset-windows-password</p> Signup and view all the answers

    To ensure proper functionality when using a service account across projects in GCP, what must be configured?

    <p>Cross project IAM policy bindings.</p> Signup and view all the answers

    When creating a VM, what key should be used to add metadata for a password?

    <p>windows-password</p> Signup and view all the answers

    Which command would you run to list the IAM roles available in your GCP project?

    <p>gcloud iam roles list</p> Signup and view all the answers

    What is the significance of the Project Billing Manager role in GCP?

    <p>Allows linking billing accounts to projects.</p> Signup and view all the answers

    Which role should the dev1 group be granted to enable SSH access to a specific Compute Engine instance?

    <p>compute.osLogin</p> Signup and view all the answers

    What should be set to block project-wide SSH keys for the instance?

    <p>enable-oslogin=true</p> Signup and view all the answers

    When trying to manage service accounts across multiple GCP projects, what is an important aspect to consider?

    <p>Permissions assigned to the service account in each project.</p> Signup and view all the answers

    What is the correct command to produce a list of enabled Google Cloud Platform APIs?

    <p>gcloud services list --enabled</p> Signup and view all the answers

    What is the first step to list the enabled APIs for a project named 'my-project'?

    <p>Set the project ID using gcloud init</p> Signup and view all the answers

    To generate an SSH key for users in the dev1 group, which of the following actions should be taken?

    <p>Generate individual keys for each user</p> Signup and view all the answers

    What is the purpose of the JSON private key for the default Compute Engine service account?

    <p>To log in to the VM</p> Signup and view all the answers

    What is the first step in creating a VPC with an internal load balancer in europe-west1?

    <p>Create a VPC and a subnetwork in europe-west1.</p> Signup and view all the answers

    Which option correctly describes the action taken to connect two subnetworks?

    <p>Use a Cloud VPN to connect the two subnetworks.</p> Signup and view all the answers

    When wanting to limit GKE container logging to reduce costs, which action requires the least effort?

    <p>Disable the log source for the GKE container resource.</p> Signup and view all the answers

    If you want to test a new version of a website with 1% of the users on App Engine, what should you do?

    <p>Use the --splits option to assign traffic weights.</p> Signup and view all the answers

    What is the purpose of the --migrate option when deploying a new version in App Engine?

    <p>To transfer users from the old version to the new one.</p> Signup and view all the answers

    Which step must be taken after creating a subnetwork to use its instance as the endpoint?

    <p>Expose the application through a load balancer.</p> Signup and view all the answers

    What is the recommended approach to handle a significant amount of logs generated by a GKE container?

    <p>Adjust the logging level or configuration.</p> Signup and view all the answers

    Which method will not successfully minimize complexity when testing a version of a website on App Engine?

    <p>Creating a new App Engine application.</p> Signup and view all the answers

    To provide your ML team with access to Nvidia Tesla P100 GPUs for their workloads, which action should you take to minimize effort and cost?

    <p>Add a new, GPU-enabled, node pool to the GKE cluster.</p> Signup and view all the answers

    If your subnet has a mask of 255.255.255.240 and you require 10 additional IP addresses without changing routing, what should you do?

    <p>Use gcloud to expand the IP range of the current subnet.</p> Signup and view all the answers

    What is the best way to grant G Suite users access to your Cloud Platform project?

    <p>Grant them the required IAM roles using their G Suite email address.</p> Signup and view all the answers

    Which option allows for the quickest access to GPUs for your ML team without causing disruption in the existing GKE cluster?

    <p>Add a GPU-enabled node pool and specify the required nodeSelector in the pod specification.</p> Signup and view all the answers

    When needing more than 10 IP addresses on a subnet with a mask of 255.255.255.240, which option ensures all VMs communicate effectively?

    <p>Extend the existing subnet's IP range without deleting it.</p> Signup and view all the answers

    If the GKE cluster does not support GPUs initially and you want to bring them in, which is the least labor-intensive method?

    <p>Add a dedicated GPU node pool to the existing GKE cluster.</p> Signup and view all the answers

    If you are creating a new subnet for additional IP addresses, which step should be taken to avoid affecting existing addresses?

    <p>Initiate a new subnet with a different starting IP range.</p> Signup and view all the answers

    What is a necessary step when setting up your ML team's access to the Cloud Platform project via G Suite?

    <p>Assign the necessary IAM roles specifically to their G Suite emails.</p> Signup and view all the answers

    Study Notes

    No specific text provided. Please provide the text or questions you would like me to summarize.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Description

    Test your knowledge of Google Cloud services including App Engine and Compute Engine configurations. This quiz covers best practices for deployment, maintenance, and service availability to ensure optimal performance. Perfect for anyone looking to validate their expertise in cloud computing!

    More Like This

    Google Cloud Services and Infrastructure Quiz
    6 questions
    Google Cloud Services and Infrastructure Quiz
    3 questions
    Platform as a Service (PaaS) Overview
    40 questions
    Google Cloud Services Overview
    13 questions
    Use Quizgecko on...
    Browser
    Browser