GCP - Associate Cloud Engineer 180 OK examtopic | Questions and Answers 2024
6 views 0 purchase
Course
Software engineering
Institution
Software Engineering
GCP - Associate Cloud Engineer 180 OK examtopic | Questions and Answers 2024
You have a Dockerfile that you need to deploy on Kubernetes Engine. What you should do? ** Answ** Create a docker image from the Dockerfile and upload it to Container Registry. Create a deployment YAML file to poi...
GCP - Associate Cloud Engineer 180 OK examtopic |
Questions and Answers 2024
You have a Dockerfile that you need to deploy on Kubernetes Engine. What you should
do? ** Answ** Create a docker image from the Dockerfile and upload it to Container
Registry. Create a deployment YAML file to point to that image. Use "kubectl" to create
the deployment with that file.
Every employee of your company has a Google account. Your operational team needs
to manage a large number of instances on Compute Engine. Each member of this team
needs only administrative access to the server. Your security team wants to ensure that
the deployment of credentials is operationally efficient and must be able to determine
who accessed a given instance. What should you do? ** Answ** Generate a new
SSH key pair. Give the private key to each member of your team. Configure the public
key as a project-wide public SSH key in your Cloud Platform project and allow project-
wide public SSH key on each instance.
You need a dynamic way of provisioning VMs on Compute Engine. The exact
specifications will be in a dedicated configuration file. You want to follow Google's
recommendation practices. Which method should you use? ** Answ** Managed
Instance Group
Several employees at your company have been creating projects with Cloud Platform
and paying for it with their personal credit cards, which the company reimburses. The
company wants to centralize all these projects under single, new billing account. What
should you do? ** Answ** In the Google Cloud Platform Console, create a new
billing account and set up a payment method.
Your company uses Cloud Storage to store application backup files for disaster
recovery purposes. You want to follow Google's recommendation practices. Which
storage option should you use? ** Answ** Coldline Storage
Your development team needs a new Jenkins server for their project. You need to
deploy the server using the fewest steps possible. What should you do? ** Answ**
Use GCP Marketplace to launch the Jenkins Solution
You have a development project with appropriate IAM roles defined. You are creating a
production project and want to have the same IAM roles on the new project, using the
fewest possible steps. What should you do? ** Answ** Use 'gcloud iam roles' copy
and specify your organization as the destination organization.
You want to select and configure a cost-effective solution for relational data on Google
Cloud Platform. You are working with a small set of operational data in one geographic
,location. You need to support point-in-time recovery. What should you do? ** Answ**
Select Cloud SQL (MySQL). Verify that the enable binary logging option is selected.
You are using multiple configurations for gcloud. You want to review the configured
Kubernetes Engine cluster of an inactive configuration using the fewest possible steps.
What you should do? ** Answ** Use kubectl config use-text and kubectl config view
to review the output.
You are deploying an application to App Engine. You want the number of instances to
scale based on request rate. You need at least 3 unoccupied instances at all times.
Which Scaling type you should use? ** Answ** Automatic Scaling with
min_idle_instances set to 3
You need to create a custom VPC with a single subnet. The subnet's range must be as
large as possible. Which range should you use? ** Answ** 10.0.0.0/8
You want to configure autohealing for network load balancing for a group of Compute
Engine instances that run in multiple zones, using the fewest possible steps.You need
to configure re-creation of VMs if they are unresponsive after 3 attempts of 10 seconds
each. What should you do? ** Answ** Create a managed instance group. Verify that
the autoscaling setting is on.
You have an application that looks for its licensing server on the IP 10.0.3.21. You need
to deploy the licensing server on Compute Engine. You do not want to change the
configuration of the application and want the application to be able to reach the
licensing server. What should you do? ** Answ** Reserve the IP 10.0.3.21 as a
static internal IP address using gcloud and assign it to the licensing server
You need to update a deployment in Deployment Manager without any resource
downtime in the deployment. Which command should you use? ** Answ** gcloud
deployment-manager deployments update --config <deployment-config-path>
You need to run an important query in BigQuery but expect it to return a lot of records.
You want to find out how much it will cost to run the query. You are using on-demand
pricing. What should you do? ** Answ** Use the command line to run a dry run
query to estimate the number of bytes read. Then convert that bytes estimate to dollars
using the Pricing Calculator.
You have a single binary application that you want to run on Google Cloud Platform.
You decided to automatically scale the application based on underlying infrastructure
CPU usage. Your organizational policies require you to use virtual machines directly.
You need to ensure that the application scaling is operationally efficient and completed
as quickly as possible. What should you do? ** Answ** Create an instance template,
and use the template in a managed instance group with autoscaling configured
, You are analyzing Google Cloud Platform service costs from three separate projects.
You want to use this information to create service cost estimates by service type, daily
and monthly, for the next six months using standard query syntax. What should you do?
** Answ** Export your bill to a BigQuery dataset, and then write time window-based
SQL queries for analysis.
You need to set up a policy so that videos stored in a specific Cloud Storage Regional
bucket are moved to Coldline after 90 days, and then deleted after one year from their
creation. How should you set up the policy? ** Answ** Use Cloud Storage Object
Lifecycle Management using Age conditions with SetStorageClass and Delete actions.
Set the SetStorageClass action to 90 days and the Delete action to 365 days
You have a Linux VM that must connect to Cloud SQL. You created a service account
with the appropriate access rights. You want to make sure that the VM uses this service
account instead of the default Compute Engine service account. What should you do?
** Answ** When creating the VM via the web console, specify the service account
under the 'Identity and API Access' section.
You created an instance of SQL Server 2017 on Compute Engine to test features in the
new version.
You want to connect to this instance using the fewest number of steps.
What should you do? ** Answ** Install a RDP client in your desktop. Set a Windows
username and password in the GCP Console. Use the credentials to log in to the
instance.
You have one GCP account running in your default region and zone and another
account running in a non-default region and zone.
You want to start a new Compute Engine instance in these two Google Cloud Platform
accounts using the command line interface.
What should you do? ** Answ** Create two configurations using gcloud config
configurations create [NAME]. Run gcloud config configurations activate [NAME] to
switch between accounts when running the commands to start the Compute Engine
instances.
You significantly changed a complex Deployment Manager template and want to
confirm that the dependencies of all defined resources are properly met before
committing it to the project.
You want the most rapid feedback on your changes.
What should you do? ** Answ** Execute the Deployment Manager template using
the "-preview option in the same project, and observe the state of interdependent
resources.
You are building a pipeline to process time-series data.
Which Google Cloud Platform services should you put in boxes 1,2,3, and 4? **
Answ** Cloud Pub/Sub, Cloud Dataflow, Cloud Bigtable, BigQuery.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller smartchoices. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.89. You're not tied to anything after your purchase.