Preparing for ACE Module 4 v2.0: Ensuring Successful Operation of a Cloud Solution
Which Cloud Run autoscaling setting should you set if you want to limit cost?
Min instances Max instances Correct! Max instances directly affects cost by limiting the maximum amount of container instances deployed. CPU Utilization Concurrency settings
What GKE object implements an http(s) load balancer?
Service Pod Ingress Correct! Ingress objects implement an http(s) load balancer based on upstream services you specify in your configuration file. Deployment
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?
gcloud compute networks subnets expand-ip-range mysubnet --region us-central1 --prefix-length 21
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?
A. Annotate your ingress object with an ingress.class of "gce." Incorrect. To implement an internal load balancer, the ingress class needs to be "gce-internal." B. Configure your service object with a type: LoadBalancer. Incorrect. Using Load Balancer at the service level implements a Layer 4 network load balancer, not an http(s) load balancer. C. Annotate your service object with a neg reference. Correct! This is correct because an internal http(s) load balancer can only use NEGs. D. Implement custom static routes in your VPC. Incorrect. This describes a routes-based cluster. In order to support internal load balancing, your cluster needs to use VPC-native mode, where your cluster provides IP addresses to your pods from an alias IP range
Which of the following tasks are part of the process when configuring a managed instance group? (Pick two.)
A. Defining Health checks Correct! Health checks are part of your managed instance group configuration. B. Providing Number of instances Correct! Number of instances is part of your managed instance group configuration. C. Specifying Persistent disks Incorrect. This is part of your instance template definition. D. Choosing instance Machine type Incorrect. This is part of your instance template definition. E. Configuring the operating system Incorrect. This is part of your instance template definition.
You have a scheduled snapshot you are trying to delete, but the operation returns an error. What should you do to resolve this problem?
A. Delete the downstream incremental snapshots before deleting the main reference. Incorrect. This is not required to delete a scheduled snapshot and would be a lot of manual work. B. Delete the object the snapshot was created from. Incorrect. This is not required to delete a scheduled snapshot and is destructive. C. Detach the snapshot schedule before deleting it. Correct! You can't delete a snapshot schedule that is still attached to a persistent disk. D. Restore the snapshot to a persistent disk before deleting it. Incorrect. This does not allow you to delete a scheduled snapshot.
What Kubernetes object provides access to logic running in your cluster via endpoints that you define?
A. Pod templates Incorrect. Pod templates define how pods will be configured as part of a deployment. B. Pods Incorrect. Pods provide the executable resources your containers run in. C. Services Correct! Service endpoints are defined by pods with labels that match those specified in the service configuration file. Services then specify how those pods are exposed. D. Deployments Incorrect. Deployments help you with availability and the health of a set of pod replicas. They do not help you configure external access.
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?
A. Set Min instances. Incorrect. Min instances reduce latency when you start getting requests after a period of no activity. It keeps you from scaling down to zero. B. Set Max instances. Correct! Max instances control costs, keeping you from starting too many instances by limiting your number of connections to a backing service. C. Set CPU Utilization. Incorrect. Default CPU utilization is 60%. It doesn't affect the number of connections to your backing service. D. Set Concurrency settings. Incorrect. Concurrency is how many users can connect to a particular instance. It does not directly affect connections to backend services.
You want to view a description of your available snapshots using the command line interface (CLI). What gcloud command should you use?
A. gcloud compute snapshots list Correct! gcloud commands are built with groups and subgroups, followed by a command, which is a verb. In this example, Compute is the Group, snapshots is the subgroup, and list is the command. B. gcloud snapshots list Incorrect. Snapshots is not a main group defined in gcloud. C. gcloud compute snapshots get Incorrect. Available commands for snapshots are list, describe, and delete. D. gcloud compute list snapshots Incorrect. Snapshots is a compute command subgroup. It needs to come before the list command.
What is the declarative way to initialize and update Kubernetes objects?
A. kubectl apply Correct! kubectl apply creates and updates Kubernetes objects in a declarative way from manifest files. B. kubectl create Incorrect. kubectl create creates objects in an imperative way. You can build an object from a manifest but you can't change it after the fact. You will get an error. C. kubectl replace Incorrect. kubectl replace downloads the current copy of the spec and lets you change it. The command replaces the object with a new one based on the spec you provide. D. kubectl run Incorrect. kubectl run creates a Kubernetes object in an imperative way using arguments you specify on the command line.
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?
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.
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).
CreatedBefore MatchesStorageClass
