Google Associate Cloud Engineer Practice Questions set 1

Google Associate Cloud Engineer Practice Questions set 1 

1.Jane will manage objects in Cloud Storage for the Cymbal Superstore. She needs to have access to the proper permissions for every project across the organization. What should you do?

Add Jane to a group that has the roles/storage.objectAdmin role assigned at the organizational level.


2. You need to add new groups of employees in Cymbal Superstore’s production environment. You need to consider Google’s recommendation of using least privilege. What should you do?

Ans: Grant predefined and custom roles that provide necessary permissions and grant basic roles only where needed.

3.You want to use the Cloud Shell to copy files to your Cloud Storage bucket. Which Cloud SDK command should you use?

Ans: gsutil

4.Fiona is the billing administrator for the project associated with Cymbal Superstore’s eCommerce application. Jeffrey, the marketing department lead, wants to receive emails related to budget alerts. Jeffrey should have access to no additional billing information. What should you do?

Ans: Use Cloud Monitoring notification channels to send Jeffrey an email alert.

5.Pick two choices, from the options below, that provide a command line interface to Google Cloud.

1.Cloud Shell

2.Cloud SDK

6.The Operations Department at Cymbal Superstore wants to provide managers access to information about VM usage without allowing them to make changes that would affect the state. You assign them the Compute Engine Viewer role. Which two permissions will they receive?
1.compute.images.get
2.compute.images.list

7.Stella is a new member of a team in your company who has been put in charge of monitoring VM instances in the organization. Stella will need the required permissions to perform this role. How should you grant her those permissions?

Ans:Add Stella to a Google Group in your organization. Bind that group to roles/compute.viewer.

8.How are resource hierarchies organized in Google Cloud?

Ans : Organization, Folder, Project, Resource

9. How are billing accounts applied to projects in Google Cloud? (Pick two).

Ans: 1.A billing account can be linked to one or more projects.

2.A project and its resources can only be tied to one billing account.


10. What Google Cloud project attributes can be changed?
Ans:The Project Name.

11. Which basic permission allows you to change access permissions on resources?
Ans: Editor

12. Which Google Cloud interface allows for scripting actions in a set of command line executables?
Ans: Cloud Shell.


13.Cymbal Superstore decides to pilot a cloud application for their point of sale system in their flagship store. You want to focus on code and develop your solution quickly, and you want your code to be portable. How do you proceed?

Ans: Package your code to a container image and post it to Cloud Run.

14.The projected amount of cloud storage required for Cymbal Superstore to enable users to post pictures for project reviews is 10 TB of immediate access storage in the US and 30 TB of storage for historical posts in a bucket located near Cymbal Superstore’s headquarters. The contents of this bucket will need to be accessed once every 30 days. You want to estimate the cost of these storage resources to ensure this is economically feasible. What should you do?
Ans: Use the pricing calculator to estimate the price for 10 TB of multi-region standard storage, 30 TB for regional Nearline, and egress charges for reads from the bucket.

15.Cymbal Superstore has a need to populate visual dashboards with historical time-based data. This is an analytical use-case. Which two storage solutions could they use?

Ans:Cloud Bigtable,BigQuery

16.Cymbal Superstore’s supply chain application frequently analyzes large amounts of data to inform business processes and operational dashboards. What storage class would make sense for this use case?
Ans : Regional 

17.Cymbal Superstore is piloting an update to its ecommerce app for the flagship store in Minneapolis, Minnesota. The app is implemented as a three-tier web service with traffic originating from the local area and resources dedicated for it in us-central1. You need to configure a secure, low-cost network load-balancing architecture for it. How do you proceed?
Ans:  Configure a standard tier proxied external https load balancer connected to the web tier as a frontend and a regional internal load balancer between the web tier and the backend.

18. Cymbal Superstore decides to migrate their supply chain application to Google Cloud. You need to configure specific operating system dependencies. What should you do?
Ans : Implement an application using code on App Engine.

19.You want to deploy a microservices application. You need full control of how you manage containers, reliability, and autoscaling, but don’t want or need to manage the control plane. Which compute option should you use?

Ans:Google Kubernetes Engine

20. Cymbal Superstore needs to analyze whether they met quarterly sales projections. Analysts assigned to run this query are familiar with SQL. What data solution should they implement?
Ans: Bigquery

21. Which Google Cloud load balancing option runs at Layer 7 of the TCP stack?
Ans: Global http(s)

An application running on a highly-customized version of Ubuntu needs to be migrated to Google Cloud. You need to do this in the least amount of time with minimal code changes. How should you proceed?

Ans: Create Compute Engine Virtual Machines and migrate the app to that infrastructure

22.Which storage class is designed for long term storage has a 365 day minimum storage agreement, and a lower storage price as compared to other storage types?
Ans: Archive storage

23.Which serverless option is based on developing and executing small snippets of code
Ans: Cloud Functions

24. Which basic permission allows you to change access permissions on resources?
Ans: Editor

25.Which Google Cloud interface allows for scripting actions in a set of command line executables?
Ans:Cloud Shell.

26.Cymbal Superstore’s sales department has a medium-sized MySQL database. This database includes user-defined functions and is used internally by the marketing department at Cymbal Superstore HQ. The sales department asks you to migrate the database to Google Cloud in the most timely and economical way. What should you do?
Ans: Configure a Compute Engine VM with an N2 machine type, install MySQL, and restore your data to the new instance

27. You have a scheduled snapshot you are trying to delete, but the operation returns an error. What should you do to resolve this problem?
Ans: Detach the snapshot schedule before deleting it.

28.You want to view a description of your available snapshots using the command line interface (CLI). What gcloud command should you use?
Ans: gcloud compute snapshots list

29.Cymbal Superstore’s GKE cluster requires an internal http(s) load balancer. You are creating the configuration files required for this resource. What is the proper setting for this scenario?

Ans:Annotate your service object with a neg reference.

30.Cymbal Superstore has a subnetwork called mysubnet with an IP range of 10.1.2.0/24. You need to expand this subnet to include enough IP addresses for at most 2000 new users or devices. What should you do?
Ans: gcloud compute networks subnets expand-ip-range mysubnet --region us-central1 --prefix-length 21

31.You want to implement a lifecycle rule that changes your storage type from standard to nearline after a specific date. What conditions should you use? (Pick two).

Ans: CreatedBefore,MatchesStorageClass

32.Which of the following tasks are part of the process when configuring a managed instance group? (Pick two.)
Ans:Defining Health checks,Providing Number of instances

33.What is the declarative way to initialize and update Kubernetes objects?

Ans: kubectl apply

34. What Kubernetes object provides access to logic running in your cluster via endpoints that you define?

Ans: Services

35.Cymbal Superstore’s supply chain management system has been deployed and is working well. You are tasked with monitoring the system’s resources so you can react quickly to any problems. You want to ensure the CPU usage of each of your Compute Engine instances in us-central1 remains below 60%. You want an incident created if it exceeds this value for 5 minutes. You need to configure the proper alerting policy for this scenario. What should you do?

Ans: Choose resource type of VM instance and metric of CPU utilization, condition trigger if any time series violates, condition is above, threshold is .60 for 5 minutes

36.You have a Cloud Run service with a database backend. You want to limit the number of connections to your database. What should you do?

Ans: Set Max instances.

37.Which Cloud Run autoscaling setting should you set if you want to limit cost?
Ans: Max instances

38.What GKE object implements an http(s) load balancer?
Ans: Ingress

39.Cymbal Superstore is implementing a mobile app for end users to track deliveries that are en route to them. The app needs to access data about truck location from Pub/Sub using Google recommended practices. What kind of credentials should you use?

Ans: Service account key

40.Which Cloud Audit log is disabled by default with a few exceptions?

0/Post a Comment/Comments

#Advertisement

Top Post Ad