GCP

Ace your homework & exams now with Quizwiz!

compute engine prices

Per-second billing, sustained use discounts, committed use discounts Preemptible instances High throughput to storage at no extra cost Custom machine types: Only pay for the hardware you need

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

Dedicated interconnect

True or False: Google Cloud Load Balancing lets you balance HTTP traffic across multiple Compute Engine regions.

True

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

True

True or false: You can create Compute Engine virtual machines from the command line.

True

policies are set on a XXXX, they inherit policies from XXX

resource, parent

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?

the regional internal load balancer

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 the Nearline and Coldline storage classes differ from Multi-regional and Regional?

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

Which statement is true about Google VPC networks and subnets?

Networks are global; subnets are regional

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

Which database service offers transactional consistency at global scale?

Cloud Spanner

Cloud Spanner

Cloud Spanner is especially suited for applications requiring: ● A SQL RDBMS, with joins and secondary indexes ● Built-in high availability ● Strong global consistency ● Database sizes exceeding ~2 TB ● Many IOPS (Tens of thousands of reads/writes per second or more)

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

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

Cloud Storage

When to choose cloud bigTable

Customers frequently choose Bigtable if the data is: Big ● Large quantities (>1 TB) of semi-structured or structured data Fast ● Data is high throughput or rapidly changing NoSQL ● Transactions, strong relational semantics not required And especially if it is: Time series ● Data is time-series or has natural semantic ordering Big data ● You run asynchronous batch or real-time processing on the data Machine learning ● You run machine learning algorithms on the data Bigtable is designed to handle massive workloads at consistent low latency and high throughput, so it's a great choice for both operational and analytical applications, including IoT, user analytics, and financial data analysis.

You stream huge amounts of data from devices with sensors. Which storage service should you consider first?

Google Cloud Bigtable

Your application transcodes large video files. Which storage service should you consider first?

Google Cloud Storage

vpc load balancing options

global http(s)-layer 7 load balancing based on load, can route different urls to different back ends global ssl proxy- layer 4 load balancing of non-https ssl traffic based on load, supported on specific port numbers global tcp proxy- layer 4 load balancing of non-ssl tcp traffic, supported on specific port numbers regional- load balancing of any traffic(tcp, udp), supported on any port number regional internal- load balancing of traffic inside a vpc, use for the internal tiers of multi-tier apps

Cloud storage files organized into buckets- bucket attributes-contents

globally unique name- Files storage class Location (region/multiregion) IAM policies- Access Control Lists Object versioning setting Object lifecycle management rules

who part of IAM policy

google account, cloud identity user, service account, google group or cloud identity or G suite domain

Cloud Datastore

horizontally scalable NoSQL DB, designed for application backends, fully managed, uses a distributed architecture to automatically manage scaling, built-in redundancy, supports ACID transactions

Regional cloud storage classes

intended for data that is accessed frequently within a region, availability SLA 99.90%, 2nd highest storage price, 2nd lowest retrieval cost, use case- in region analytics, transcoding lets you store your data in a specific GCP region, us-central1, europe-west1 or asia-east1. It's cheaper than multi-regional storage, but it offers less redundancy.

Multi-regional cloud storage classes

intended for data that is most frequently accessed, availability SLA 99.95%, Highest Storage price, Lowest Retrieval price, use cases- content storage and delivery costs a bit more, but it's geo-redundant. That means you pick a broad geographical location, like United States, the European Union, or Asia, and Cloud Storage stores your data in at least two geographic locations separated by at least 160 kilometers.

using cloud marketplace to deploy lamp stack

nav menu, marketplace, search "lamp certified by bitnami", launch, change zone, deploy, visit site cd into working directory, copy php script, go to site address/phpinfo.php

Name 3 Compute Engine pricing features.

Per-second billing, custom machine types, preemptible instances

Projects 3 identifying attributes and their qualities

Project Id- globally unique, chosen by you, immutable project name- need not be unique, chosen by you, mutable project number- globally unique, assigned by gcp, immutable

max memory size

624

max number of virtual cpus

96

Bigtable Access Patterns

Application API, Streaming, Batch Processing

True or false: Cloud Storage is well suited to providing the root file system of a Linux virtual machine.

False

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

True or false: Each table in NoSQL databases such as Cloud Bigtable has a single schema that is enforced by the database engine itself.

False

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

Some developers think of Cloud Bigtable as a persistent hashtable. What does that mean?

Each item in the database can be sparsely populated, and is looked up with a single key.

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

How do GCP customers and Google Cloud Platform divide responsibility for security?

Google takes care of the lower parts of the stack, and customers are responsible for the higher parts.

computer engine virtual machines

High CPU, high memory, standard and shared-core machine types Persistent disks-Standard, SSD, local SSD, Snapshots Resize disks with no downtime Instance metadata and startup scripts

What is the difference between IAM primitive roles and IAM predefined roles?

Primitive roles affect all resources in a GCP project. Predefined roles apply to a particular service in a project.

Choose the correct completion: Services and APIs are enabled on a per-__________ basis.

Project

Which of these values is globally unique, permanent, and unchangeable, but chosen by the customer?

The project ID

How are Cloud Datastore and Cloud Bigtable alike?

They are both highly scalable. They are both NoSQL databases.

Which statement is true about objects in Cloud Storage?

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

How do VPC routers and firewalls work?

They are managed by Google as a built-in feature.

What is the main reason customers choose Preemptible VMs?

To reduce cost

*True or False*: Google Cloud Load Balancing allows you to balance HTTP-based traffic across multiple Compute Engine *regions.*

True

. *True or False*: All Google Cloud Platform resources are associated with a project.

True

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

Which statement is true about billing for solutions deployed using Cloud Marketplace (formerly known as Cloud Launcher)?

You pay only for the underlying GCP resources you use, with the possible addition of extra fees for commercially licensed software.

four ways to interact with gcp

console- web based admin UI cloud shell/sdk cloud console/mobile app rest-based api

Cloud SQL

easy to use service that delivers fully managed relational database, includes network firewall, allowing you to control network access to your databse instance by granting access, scale up to 64 processor cores, 100 GB of RAM

Autoscaling

lets you add and take away VMs from your application based on load metrics. The other part of making that work is balancing the incoming traffic among the VMs. And Google VPC supports several different kinds of load balancing

Cloud Bigtable

managed NoSQL, a fully managed service, which means that you spend your time developing valuable applications instead of configuring and tuning your database for performance and scalability. In addition, Google's own Bigtable operations team monitors the service to ensure that issues are addressed quickly. Cloud Bigtable is ideal for applications that need very high throughput and scalability for non-structured key/value data, where each value is typically no larger than 10 MB. Cloud Bigtable also excels as a storage engine for batch MapReduce operations, stream processing/analytics, and machine-learning applications.

your company has 2 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

3 IAM roles

primitive- broad, all resources in project (owner, editor, viewer, billling admin) predefined- google preset roles custom- you define (only a project and organization levels)

what controls server to server interactions

service accounts, given authenicate using keys, can define a predefined or custom IAM role

gcp sdk

set of command line tools for c loud products and services,

gcp interconnect options

vpn- secure multi-gbps connection over vpn tunnels direct peering- private connection between you and google for your hybrid cloud workloads carrier peering- connection through the largest partner network of service providers dedicated interconnect- connect n x 10g transport circuits for private cloud traffic to google cloud at google pops partner interconnect-

a less restrictive parent policy will/will not XXXX a more restrictive resource policy

will override

Object storage

"Here, keep this arbitrary sequence of bytes,," and the storage lets you address it with a unique key. In Google Cloud Storage and in other systems, these unique keys are in the form of URLs, which means object storage interacts well with web technologies

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

Cloud SQL

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

Which database service can scale to higher database sizes?

Cloud Spanner.

Name 3 robust networking services available to your applications on Google Cloud Platform.

Cloud Virtual Network, Cloud Interconnect, Cloud DNS, Cloud Load Balancing, and Cloud CDN.

what is the top of the google project hierarchy

organization node

Service accounts are used to provide which of the following? A way to restrict the actions a resource (such as a VM) can perform A way to allow users to act with service account permissions Authentication between Google Cloud Platform services A set of predefined permissions

A way to restrict the actions a resource (such as a VM) can perform A way to allow users to act with service account permissions Authentication between Google Cloud Platform services

True or false? In Google Cloud VPCs, subnets have regional scope.

True

cloud launcher

gives quick access guide, solution marketplace, ready to deploy solutions

VPC firewall

global distributed firewall you can control to restrict access to instances, both incoming and outgoing traffic. You can define firewall rules in terms of metadata tags on Compute Engine instances, which is really convenient. For example, you can tag all your web servers with, say, "WEB," and write a firewall rule saying that traffic on ports 80 or 443 is allowed into all VMs with the "WEB" tag, no matter what their IP address happens to be

Choose an application that would be suitable for running in a Preemptible VM.

A batch job that can be checkpointed and restarted

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). An encryption-at-rest setting (on or off) A default file type for the objects in the bucket A geographic location A globally-unique name A default storage class

A default storage class A geographic location A globally unique name

Why would a customer consider the Coldline storage class?

To save money on storing infrequently accessed data.

Coldline Cloud Storage Classes

Intended for data that is accessed less than once a year, availability SLA 99.00%, Lowest storage cost, highest retrieval price, use case- archiving disaster recovery is a very-low-cost, highly durable storage service for data archiving, online backup, and disaster recovery. Coldline Storage is the best choice for data that you plan to access at most once a year, due to its slightly lower availability, 90-day minimum storage duration, costs for data access, and higher per-operation costs. For example, if you want to archive data or have access in the event of a disaster recovery event.

Cloud Datastore benefits

Atomic transactions Datastore can execute a set of operations where either all succeed, or none occur. ● High availability of reads and writes Datastore runs in Google data centers, which use redundancy to minimize impact from points of failure. ● Massive scalability with high performance Datastore uses a distributed architecture to automatically manage scaling. Datastore uses a mix of indexes and query constraints so your queries scale with the size of your result set, not the size of your data set. ● Flexible storage and querying of data Datastore maps naturally to object-oriented and scripting languages and is exposed to applications through multiple clients. It also provides a SQL-like query language. ● Balance of strong and eventual consistency Datastore ensures that entity lookups and ancestor queries always receive strongly consistent data. All other queries are eventually consistent. The consistency models allow your application to deliver a great user experience while handling large amounts of data and users. ● Encryption at rest Datastore automatically encrypts all data before it is written to disk and automatically decrypts the data when read by an authorized user. For more information, see Server-Side Encryption. ● Fully managed with no planned downtime Google handles the administration of the Datastore service so you can focus on your application. Your application can still use Datastore when the service receives a planned upgrade.

*True or False*: In Google Cloud IAM: if a policy applied at the project level gives you Owner permissions, your access to an individual resource in that project might be restricted to View permission if someone applies a more restrictive policy directly to that resource.

False

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

False

Nearline Cloud Storage Classes

Intended for data that is accessed less than once a month, availability SLA- 99.00%, 2nd lowest storage cost, 2nd highest retrieval price is a low-cost, highly durable storage service for storing infrequently accessed data. This storage class is a better choice than Multi-Regional Storage or Regional Storage in scenarios where you plan to read or modify your data on average once a month or less. For example, if you want to continuously add files to Cloud Storage and plan to access those files once a month for analysis, Nearline Storage is a great choice.

Consider a single hierarchy of GCP resources. Which of these situations is possible? There are two or more organization nodes There is an organization node, and there are no folders. There is an organization node, and there is at least one folder. There is no organization node, and there are no folders. There is no organization node, but there is at least one folder.

There is an organization node, and there are no folders There is an organization node and there is at least one folder There is no organization node, and there are no folders.

VPCs routing tables

These are used to forward traffic from one instance to another instance within the same network, even across subnetworks and even between GCP zones, without requiring an external IP address


Related study sets

Business 12 Chapter 8 Structuring Organizations for Today's Challenges

View Set

BIOS 2210: Exam 4 Review (pt. 2)

View Set

1) The Agile Manifesto Which parts should an Agile Project Manager follow? (pg 16)

View Set

Ch 12: Windows Under the Hood, Review

View Set