GCP base exam

2 篇文章 0 订阅

google cloud platform

core :
GCP also offers a variety of ways for you to interconnect your on-premises or other cloud networks with your Google VPC. It’s simple to set up a VPN and you can use Cloud Router to make it dynamic. You can also peer with Google, at its many worldwide points of presence either directly or through a carrier partner. Or if you need a service level agreement and can adopt one of the required network typologies, use Dedicated Interconnect. Consider using Cloud Datastore if you need to store structured objects, or if you require support for transactions and SQL-like queries. Consider using Cloud Bigtable if you need to store a large amount of single-keyed data, especially structured objects. Consider using Cloud Storage if you need to store immutable binary objects. Consider using Cloud SQL or Cloud Spanner if you need full SQL support for an online transaction processing system. Cloud SQL provides terabytes of capacity while Cloud Spanner provides petabytes and horizontal scalability. Consider BigQuery if you need interactive querying in an online analytical processing system with petabytes of scale. I’d like to zoom into one of those services we just discussed, Cloud Storage and remind you of its four storage classes. Multi-regional and regional are the classes for warm and hot data. Use Multi-regional especially for content that’s being served to a global Web audience. And use Regional for working storage for compute operations. Nearline and Coldline are the classes for, as you’d guess, cooler data. Use Nearline for backups and for infrequently accessed content. And use Coldline for archiving and disaster recovery.

exam
tips

the exam format like this:

  • description:What type of cloud computing service lets you bind your application code to libraries that give access to the infrastructure your application needs?
    * the answer is true which i proved like Platform as a Service
    * the answer is wrong which i proved like – Platform as a hardware
content
  • What type of cloud computing service lets you bind your application code to libraries that give access to the infrastructure your application needs?
    Platform as a Service

  • Which statement is true about the zones within a region?

    • the zones within a region have fast network connectivity among them.
  • Choose a fundamental characteristic of devices in a virtualized data center.

    • they are manageable separately from the underlying hardware
  • What kind of customer benefits most from billing by the second for cloud resources such as virtual machines?

    • customers who creat and run many virtual machines
  • Choose fundamental characteristics of cloud computing. Mark all that are correct (4 correct responses).

    • computing resource avaible on-demand and self-service

    • customers can scale their resources use up and down

    • customers pay only what they use or reserve

  • What type of cloud computing service provides raw compute, storage, and network, organized in ways that are familiar from physical data centers?
    Infrastructure as a Service

The Google Cloud Platform resource hierarchy
  • Choose the correct completion: Services and APIs are enabled on a per-__________ basis.
    Project

  • True or false: Google manages every aspect of Google Cloud Platform customers’ security.
    false

  • Your company has two GCP projects, and you want them to share policies. What is the less error-prone way to set this up?

Place both projects into a folder, and define the policies on the folder.

Resources and IAM
  • When would you choose to have an organization node? (Choose all that are correct. Choose 2 responses.)

  • Order these IAM role types from broadest to finest-grained.
    Primitive roles, predefined roles, custom roles

  • Can IAM policies that are implemented higher in the resource hierarchy take away access that is granted by lower-level policies?
    no

virtual private cloud network
    1. True or false? In Google Cloud VPCs, subnets have regional scope.
      true
  • 2、True or false: If you increase the size of a subnet in a custom VPC network, the IP addresses of virtual machines already on that subnet might be affected.
    false
cloud storage
  • Your Cloud Storage objects live in buckets. Which of these characteristics do you define on a per-bucket basis? Choose all that are correct (3 correct answers).
    A default storage class
    A globally-unique name
    A geographic location
  • True or false: Cloud Storage is well suited to providing the root file system of a Linux virtual machine.
    false
    Cloud Storage is object storage rather than file storage. Compute Engine virtual machines use Persistent Disk storage to contain their file systems.
  • Why would a customer consider the Coldline storage class?
    To save money on storing infrequently accessed data.

Correct
That’s correct! Data stored in Coldline is billed at a low monthly storage rate, although a fee is assessed on retrievals.

google compute engine and networking

  • Google Cloud Load Balancing allows you to balance HTTP-based traffic across multiple Compute Engine regions.
    true

  • Which statement is true about Google VPC networks and subnets?
    Networks are global; subnets are regional

  • Choose an application that would be suitable for running in a Preemptible VM.
    A batch job that can be checkpointed and restarted

  • Question 5
    How do Compute Engine customers choose between big VMs and many VMs?

Use big VMs for in-memory databases and CPU-intensive analytics; use many VMs for fault tolerance and elasticity

  • An application running in a Compute Engine virtual machine needs high-performance scratch space. Which type of storage meets this need?
    local SSD

  • How do VPC routers and firewalls work?

    • Customers provision virtual machines and run their routers and firewalls in them.
    • They are managed by Google in virtual machines, which customers may never modify.
    • They are managed by Google in virtual machines, which customers may tune or turn off.
  • A GCP customer wants to load-balance traffic among the back-end VMs that form part of a multi-tier application. Which load-balancing option should this customer choose?
    internal

  • For which of these interconnect options is a Service Level Agreement available?
    interconnect

cloud SQL cloud spanner

  • Which database service can scale to higher database sizes?

Cloud Spanner.

  • Which database service presents a MySQL or PostgreSQL interface to clients?

Cloud SQL.

  • Which database service offers transactional consistency at global scale?

Cloud Spanner.

cloud datastore

  • How are Cloud Datastore and Cloud Bigtable alike? Choose all that are correct (2 correct answers)

    • They are both highly scalable.

    • They are both NoSQL databases.

  • True or false: Cloud Datastore databases can span App Engine and Compute Engine applications.
    true

Google Cloud Platform Storage Options

  • You are developing an application that transcodes large video files. Which storage option is the best choice for your application?

Cloud Storage

  • You manufacture devices with sensors and need to stream huge amounts of data from these devices to a storage option in the cloud. Which Google Cloud Platform storage option is the best choice for your application?

Cloud Bigtable

  • Which statement is true about objects in Cloud Storage?

They are immutable, and new versions overwrite old unless you turn on versioning.

  • You are building a small application. If possible, you’d like this application’s data storage to be at no additional charge. Which service has a free daily quota, separate from any free trials?
    Cloud Datastore

  • How do the Nearline and Coldline storage classes differ from Multi-regional and Regional? Choose all that are correct (2 responses).

Nearline and Coldline assess additional retrieval fees.
Nearline and Coldline assess lower storage fees.

  • Your application needs a relational database, and it expects to talk to MySQL. Which storage option is the best choice for your application?

Cloud SQL

  • Your application needs to store data with strong transactional consistency, and you want seamless scaling up. Which storage option is the best choice for your application?
    Cloud Spanner
  • Which GCP storage service is often the ingestion point for data being moved into the cloud, and is frequently the long-term storage location for data?
    Cloud Storage

k8s

  • What is a Kubernetes pod?
    A group of containers
    That’s correct. In Kubernetes, a group of one or more containers is called a pod. Containers in a pod are deployed together. They are started, stopped, and replicated as a group.

The simplest workload that Kubernetes can deploy is a pod that consists only of a single container.

  • What is a Kubernetes cluster?

A group of machines where Kubernetes can schedule workloads

Correct
That’s correct. A Kubernetes cluster is a group of machines where Kubernetes can schedule containers in pods. The machines in the cluster are called “nodes.”

Containers

  • each container has its own instance of an operating system.
    false
    Containers start much faster than virtual machines and use fewer resources, because each container does not have its own instance of the operating system.
  • Containers are loosely coupled to their environments. What does that mean? Choose all the statements that are true. (3 correct answers)
    • Deploying a containerized application consumes less resources and is less error-prone than deploying an application in virtual machines.
    • Containers abstract away unimportant details of their environments.
    • Containers are easy to move around.

Kubernetes Engine

  • Where do the resources used to build Kubernetes Engine clusters come from?
    Compute Engine

Correct
Correct! Because the resources used to build Kubernetes Engine clusters come from Compute Engine, Kubernetes Engine gets to take advantage of Compute Engine’s and Google VPC’s capabilities.

  • True or false: Google keeps Kubernetes Engine refreshed with successive versions of Kubernetes.

True.

Correct
That’s correct! The Kubernetes Engine team periodically performs automatic upgrades of your cluster master to newer stable versions of Kubernetes, and you can enable automatic node upgrades too.

Containers, Kubernetes, and Kubernetes Engine

  • Identify two reasons for deploying applications using containers. (Choose 2 responses.)

Simpler to migrate workloads
Consistency across development, testing, production environments

  • Kubernetes allows you to manage container clusters in multiple cloud providers.

true

  • Google Cloud Platform provides a secure, high-speed container image storage service for use with Kubernetes Engine.
    true

  • In Kubernetes, what does “pod” refer to?

A group of containers that work together

  • Does Google Cloud Platform offer its own tool for building containers (other than the ordinary docker command)?

– Yes. Kubernetes Engine customers must use the GCP-provided tool.

  • Where do your Kubernetes Engine workloads run?

– In clusters that are built into GCP, not separately manageable

App Engine

  • True or false: App Engine is a better choice for a web application than for long-running batch processing.
    True.

Correct
That’s correct! App Engine will scale your application automatically in response to the amount of traffic it receives. That’s why App Engine is especially suited for applications where the workload is highly variable, like a web application.

  • Question 2
    True or false: App Engine just runs applications; it doesn’t offer any services to the applications it runs.

false

App Engine Flexible and Standard Environments

  • Which of these criteria would make you choose App Engine Flexible Environment, rather than Standard Environment, for your application? Choose all that are correct (2 correct responses).
    tips :
    Because App Engine Standard Environment applications run in a sandbox, they can scale more finely than App Engine Flexible Environment applications.

    • Ability to ssh in

      Correct
      That’s correct. App Engine Flexible Environment lets you ssh into the virtual machines in which your application runs.

    • Wider range of choices for application language

      Correct
      That’s correct! At the time of this writing, App Engine Standard Environment supports Java, Python, PHP, and Go, but in the Flexible Environment, you upload your own runtime to run code in a language of your choice.

  • App Engine Flexible Environment applications let their owners control the geographic region where they run.

true

Applications in the Cloud

  • Which statements are true about App Engine? Choose all that are true (2 correct answers).

    • App Engine manages the hardware and networking infrastructure required to run your code.

    • It is possible for an App Engine application’s daily billing to drop to zero.

  • Name 3 advantages of using the App Engine Flexible Environment over App Engine Standard. Choose all that are true (3 correct answers).

    • You can SSH in to your application

    • Your application can write to local disk

    • You can install third-party binaries

  • Name 3 advantages of using the App Engine Standard Environment over App Engine Flexible. Choose all that are true (3 correct answers).

    • Scaling is finer-grained

    • Billing can drop to zero if your application is idle

    • Google provides and maintains runtime binaries

  • You want to do business analytics and billing on a customer-facing API. Which GCP service should you choose?

    • Apigee Edge
  • You want to support developers who are building services in GCP through API logging and monitoring. Which GCP service should you choose?

    • Cloud Endpoints
  • You want to gradually decompose a pre-existing monolithic application, not implemented in GCP, into microservices. Which GCP service should you choose?

    • Apigee Edge

Cloud Source Repositories

  • Why would a developer choose to store source code in Cloud Source Repositories? Choose all the answers that are correct (2 correct answers).

    • To reduce work
    • To keep code private to a GCP project

Quiz shell

  • What is the advantage of putting event-driven components of your application into Cloud Functions?

    • Cloud Functions handles scaling these components seamlessly.

    Correct
    Correct! Your code executes whenever an event triggers it, no matter whether it happens rarely or many times per second. That means you don’t have to provision compute resources to handle these operations.

Developing, Deploying, and Monitoring in the Cloud

  • Why might a GCP customer choose to use Cloud Source Repositories?

    • They don’t want to host their own git instance, and they want to integrate with IAM permissions.
  • Why might a GCP customer choose to use Cloud Functions?

    • Their application contains event-driven code that they don’t want to have to provision compute resources for.
  • Why might a GCP customer choose to use Deployment Manager?

    • Deployment Manager is an infrastructure management system for GCP resources.
  • You want to define alerts on your GCP resources, such as when health checks fail. Which is the best GCP product to use?

    • –Stackdriver Debugger
    • –tackdriver Trace
  • Which statements are true about Stackdriver Logging? Choose all that are true (2 statements)

    • Stackdriver Logging lets you define metrics based on your logs.

    • Stackdriver Logging lets you view logs from your applications, and filter and search on them.

Big Data and Machine Learning

  • Name two use cases for Google Cloud Dataproc (Select 2 answers)

    • Migrate on-premises Hadoop jobs to the cloud
    • Data mining and analysis in datasets of known size
  • Name two use cases for Google Cloud Dataflow (Select 2 answers).

    • Manual resource management
    • Extract, Transform, and Load (ETL)
  • Question 3
    Name three use cases for the Google Cloud Machine Learning Platform (Select 3 answers).

    • Content personalization
    • Fraud detection
    • Sentiment analysis
  • Which statements are true about BigQuery? Choose all that are true (2 statements).

    • BigQuery is a good choice for data analytics warehousing.
    • BigQuery lets you run fast SQL queries against large databases.
  • Name three use cases for Cloud Pub/Sub (Select 3 answers).

    • Decoupling systems
    • Internet of Things applications
    • Analyzing streaming data
  • What is TensorFlow?

    • An open-source software library that’s useful for building machine learning applications
  • What does the Cloud Natural Language API do?

    • –It translates arbitrary strings into any supported language.

    • –It extracts text in various languages from images.

Summary and Review

  • Which compute service lets customers run virtual machines that run on Google’s infrastructure?

    • Compute Engine
  • Which compute service lets customers deploy their applications in containers that run in clusters on Google’s infrastructure?

    • Kubernetes Engine
  • Which compute service lets customers focus on their applications, leaving most infrastructure and provisioning to Google, while still offering various choices of runtime?

    • Cloud Functions
  • For what kind of traffic would the regional load balancer be the first choice? Choose all that are correct (2 answers).

    • UDP traffic
    • TCP traffic on arbitrary port numbers
  • Question 6
    Choose a simple way to let a VPN into your Google VPC continue to work in spite of routing changes,

    • –Carrier Peering
  • Which of these storage needs is best addressed by Cloud Datastore?

    • Structured objects, with transactions and SQL-like queries
  • Which of these storage needs is best addressed by Cloud Spanner?

    • A relational database with SQL queries and horizontal scalability
  • Which of these storage needs is best addressed by Cloud Bigtable?

    • Structured objects, with lookups based on a single key
  • Question 10
    Which of these storage needs is best addressed by Cloud Storage?

    • Immutable binary objects
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值