Compute Flashcards

1
Q

Your organization wants to run a container-based application on Google Cloud. This application is expected to increase in complexity. You have a security need for fine-grained control of traffic between the containers. You also have an operational need to exercise fine-grained control over the application’s scaling policies.
What Google Cloud product or feature should your organization use?

A. Google Kubernetes Engine cluster

B. App Engine

C. Cloud Run

D. Compute Engine virtual machines

A

GKE is for much much customisation and control. You will create and manage your cluster but you will get full flexibility and control.

Cloud run is for Easy containerisation and when you do not need to create and manage a cluster/group of containers. Easy-Peasy.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An organization wants to migrate legacy applications currently hosted in their data center to the cloud. The current architecture dictates that each application needs its own operating system (OS) instead of sharing an OS.
Which infrastructure solution should they choose?

A. Virtual machines
B. Open source
C. Serverless computing
D. Containers

A

A. Virtual machines

Containers need same OS.
If you need different OS, use VMs.

Containers are faster to boot because of the same reason as their OS is virtualised.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

An organization relies on online seasonal sales for the majority of their annual revenue.
Why should the organization use App Engine for their customer app?

A. Automatically adjusts physical inventory in real time

B. Autoscales during peaks in demand

C. Runs maintenance during seasonal sales

D. Recommends the right products to customers

A

B. Autoscales during peaks in demand

App Engine will help you deploy your web/mobile app. You tell it “Put my App in servers” and it will do so. You wont have to worry about servers etc.
But if you have Database, Microservices etc then you will need other services like GKE, CloudRun, CloudSQL etc

App engine will provide the auto scaling capability which is the key ask. How can maintenance be carried out during seasonal sale?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

An organization needs to run frequent updates for their business app.
Why should the organization use Google Kubernetes Engine (GKE)?

A. Customer expectations can be adjusted without using marketing tools

B. Seamless changes can be made without causing any application downtime.

C. GKE handles version control seamlessly and out of the box

D. GKE is well suited for all monolithic applications

A

B. Seamless changes can be made without causing any application downtime

Kubernetes (GKE) and Cloud Run runs tens or hundreds of containers where your code runs.
To release a patch,release you do not need to shutdown all the containers. You can release it on few only while other containers are still up. Then you can take another batch of ten containers to release your patch and so on.
This strategy avoids any downtime.

GKE and CloudRun both run containers but in GKE you need to create and manage servers while in CloudRun google will do it for you.
Because of this reason GKE gives you highest flexibility but CloudRun is easier on management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Your organization needs a large amount of extra computing power within the next two weeks.
After those two weeks, the need for the additional resources will end.
Which is the most cost-effective approach?

A. Use a committed use discount to reserve a very powerful virtual machine

B. Purchase one very powerful physical computer

C. Start a very powerful virtual machine without using a committed use discount

D. Purchase multiple physical computers and scale workload across them

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

An organization is planning to create many new applications and needs a system for managing and orchestrating their containers.
Why should they use Google Kubernetes Engine?

A. It enables rapid application deployment and testing.

B. It optimizes virtual machine performance.

C. It connects legacy systems to an application.

D. It provides pre-written source code for application development.

A

A. It enables rapid application deployment and testing.

Kubernetes (GKE) and Cloud Run runs tens or hundreds of containers where your code runs.
To release a patch,release you do not need to shutdown all the containers. You can release it on few only while other containers are still up. Then you can take another batch of ten containers to release your patch and so on.
This strategy avoids any downtime and allows Faster Releases.

GKE and CloudRun both run containers but in GKE you need to create and manage servers while in CloudRun google will do it for you.
Because of this reason GKE gives you highest flexibility but CloudRun is easier on management.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

An organization wants to write and run small pieces of code in a serverless way that respond to events like huge discounts.
Which Google Cloud compute solution should the organization use?

A. Google Kubernetes Engine
B. Cloud Functions
C. Bare Metal Solution
D. Compute Engine

A

B. Cloud Functions

If you are looking for a solution where you just have the code and you do not want to create VM, Cluster or Deploy your code, use CloudFunction.

This is a serverless offering.

Look for the following keywords:
-Serverless compute
-Respond to events
-No need for Servers, Clusters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Your organization is developing a mobile app and wants to select a fully featured cloud-based compute platform for it.
Which Google Cloud product or feature should your organization use?

A. Google Kubernetes Engine
B. Firebase
C. Cloud Functions
D. App Engine

A

B. Firebase

Although it is possible to build an app in App Engine, Firebase is dedicated suite for mobile apps. Firebase is Google’s mobile development platform that empowers you to quickly build and grow your app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which Google Cloud product provides a consistent platform for multi-cloud application deployments and extends other Google Cloud services to your organization’s environment?

A. Google Kubernetes Engine
B. Virtual Public Cloud
C. Compute Engine
D. Anthos

A

D. Anthos

Multi-Cloud = When you are using multiple Public or Private clouds

Hybrid-Cloud = when you are using OnPrem and Cloud

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Your organization is running all its workloads in a private cloud on top of a hypervisor. Your organization has decided it wants to move to Google Cloud as quickly as possible. Your organization wants minimal changes to the current environment, while using the maximum amount of managed services Google offers.
What should your organization do?

A. Migrate the workloads to Google Cloud VMware Engine
B. Migrate the workloads to Compute Engine
C. Migrate the workloads to Bare Metal Solution
D. Migrate the workloads to Google Kubernetes Engine

A

B. Migrate the workloads to Compute Engine

The Q is asking for Lift and Shift migration. There is no mention of whether the workload in private cloud is using Containers or it is on VMWare environment.

So the best option is B

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An organization needs to migrate specialized workloads to the cloud while maintaining their existing complex licensing and architecture.
What Google Cloud solution should the organization use?

A. Compute Engine
B. Bare Metal Solution
C. Cloud Run
D. Cloud Functions

A

B. Bare Metal Solution

If you have the following situations:

  • Have a software license you want to reuse on Cloud
    -Your application needs dedicated machines because of legal issues
  • Have complex architecture that doesn’t fit on Cloud Technologies
    -Using a DB that Cloud doesn’t provide

In these cases use Bare Metal Solution. Here you get a full server machine which you can use as you like.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

An organization wants full control of their virtual machine infrastructure for a custom home-grown application with a product that autoscales and automatically updates.
Which Google Cloud product or solution should the organization use?

A. Cloud Build
B. Cloud Run
C. Compute Engine
D. App Engine

A

C. Compute Engine

The Q is asking for full control on servers so the options are GKE or Compute Engine.

GKE creates a cluster of containers and you will have full control on that

Compute Engine will create VM (Linux server with 4 CPU + 16 GB RAM) for you and you can use this machine as you like. Install your Excel, Database or Game on it.

If you need similar options whee you do not want to manage servers then go for CloudRun which gives you container cluster but you will not have to manage that.

App Engine is for Mobile Apps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An organization wants its users to validate a series of new features for their app.
Why should they use App Engine?

A. Because their app is containerized and enabled by microservices

B. Because the updated app will only include new features

C. To run different versions of the app for different users

D. To run different versions of the app for the same user

A

C. To run different versions of the app for different users

App Engine will help you deploy your web/mobile app. You tell it “Put my App in servers” and it will do so. You wont have to worry about servers etc.
But if you have Database, Microservices etc then you will need other services like GKE, CloudRun, CloudSQL etc

App engine will provide the auto scaling capability which is the key ask. How can maintenance be carried out during seasonal sale?

It can also run two version of your App which different users can use. Eg App V1 can be used by UK customers while App V2 can be used by US customers. This helps in faster testing and releases.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Your company has recently signed a contract with a company that intends to develop a software for self-driving cars. Your team is tasked with building applications that are highly scalable on a serverless platform. Since the company does not want any infra management overheads, it requires the platform to be fully managed.
Which offering from Google Cloud would you recommend?

A. Host the application on VM
B. Cloud run
C. Cloud function
D. Google App Engine

A

Correct Answer: D

Option A is Incorrect. This is not a fully managed solution.
*
Option B is Incorrect. Cloud run would be an apt choice for containerized applications development and
deployment on a fully managed serverless platform.

Option C is Incorrect. Cloud function is incorrect because cloud functions are event-driven and mostly designed for lightweight functionalities instead of applications.

Option D is Correct. Google App Engine is the appropriate choice for this solution because Google App Engine is:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A hotel wants to modernize their legacy systems so that customers can make reservations through a mobile app.
What’s the benefit of using an application programming interface (API) to do this?

A. They do not have to develop the end-user application
B. They can deprecate their legacy systems
C. They can transform their systems to be cloud-native
D. They do not have to rewrite the legacy system

A

D. They do not have to rewrite the legacy system

If you do not want to rearchitect your legacy application, you can write API to make the functionality available. This will allow modern Mobile Apps to make use of your application using the APIs.

Google has Apigee to create APIs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

An organization wants to use Apigee to manage all their application programming interfaces (APIs).
What will Apigee enable the organization to do?

A. Increase application privacy
B. Measure and track API performance
C. Analyze application development speed
D. Market and sell APIs

A

B. Measure and track API performance

Apigee can track how many users are using your app through the APIs.

17
Q

A bank wants to track the success of their existing ATM network, which has been modernized with APIs to instantly notify customers about their transfers. What is the benefit of using Apigee to achieve this goal?

A) It allows developers to connect the banking APIs with the public cloud.
B) It measures and tracks their total cost of ownership (TCO).
C) It has dashboards that chart dimensions and metrics to report on APIs.
D) It replicates banking APIs to create new business value.

A

C) It has dashboards that chart dimensions and metrics to report on APIs.

A) is not correct. Apigee does not share data with the public cloud.
B) is not correct. It measures and tracks the performance of their APIs, not TCO.
C) is correct. Apigee includes analytics services which allow enterprises to report on various aspects of an API.
D) is not correct. Apigee does not replicate APIs.

18
Q

Your organization has virtual machines running on-premise that they want to migrate to the cloud.

Which choice would be suited for this migration?

A. Google Cloud VMWare Engine

B. Migration waves

C. Migrate for Compute Engine

D. Migrate for Anthos

A

C. Migrate for Compute Engine

Compute Engine = VM

19
Q

A travel agency wants to seamlessly share their social media content with partners.
What should the organization use?
A. A NoSQL database
B. Anthos Config Management
C. The App Engine standard environment
D. An application programming interface (API)

A

D. An application programming interface (API)

Share data with API only. No DB access or files

20
Q

An organization delivers a proactive healthcare service. They want to efficiently and automatically collect patient data.
What should the organization encourage the patients to do?

A. Use at-home health screening devices and then upload their health data daily
B. Wear Internet of Things (IoT) devices that upload their health data in real time
C. Self-assess their health data and then document and upload it in real time
D. Visit a nurse who will use Internet of Things (IoT) devices to collect and upload their health data

A

B. Wear Internet of Things (IoT) devices that upload their health data in real time

Hint: RealTime and in automated fashion, not manually

21
Q

An organization wants to add a new function to their application. They want to write the code and let the public cloud provider handle the infrastructure.
Which infrastructure solution should they use?
A. Virtual machines
B. Bare Metal Solution
C. Serverless computing
D. Container Registry

A

C. Serverless computing

Severless = et the public cloud provider handle the infrastructure.