Compute Flashcards
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
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.
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. 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.
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
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?
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
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.
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
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. 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.
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
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
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
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.
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
D. Anthos
Multi-Cloud = When you are using multiple Public or Private clouds
Hybrid-Cloud = when you are using OnPrem and Cloud
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
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
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
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.
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
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
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
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.
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
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:
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
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.