Pass Your Associate-Cloud-Engineer Exam at the First Try with 100% Real Exam Questions [Q119-Q144]

Share

Pass Your Associate-Cloud-Engineer Exam at the First Try with 100% Real Exam Questions

New Google Associate-Cloud-Engineer Dumps & Questions Updated on 2022


Deploying & Implementing Cloud Solutions

To answer the questions related to this domain, the examinees need to show that they know how to deploy and implement Compute Engine resources, Google Kubernetes Engine resources, App Engine resources, Cloud Run resources, and Cloud Functions resources. Moreover, they should have a good understanding of how to deploy and implement data solutions as well as networking resources. They also need to have the capacity to perform the deployment of a solution with the help of Cloud Marketplace. Additionally, their ability to perform the deployment of application infrastructure with the help of Cloud Deployment Manager is required.

 

NEW QUESTION 119
Your team has chosen to use Deployment Manager to create the Compute Engine infrastructure for your application. You've already run the gcloud deployment-manager deployments create command to create the deployment.
You've updated 2 resources in the template and need to deploy the change. What command should you use?

  • A. gcloud deployment-manager deployments apply
  • B. gcloud deployment-manager resources apply
  • C. gcloud deployment-manager resources update
  • D. gcloud deployment-manager deployments update

Answer: D

 

NEW QUESTION 120
You need to provide a cost estimate for a Kubernetes cluster using the GCP pricing calculator for Kubernetes.
Your workload requires high IOPs, and you will also be using disk snapshots. You start by entering the number of nodes, average hours, and average days. What should you do next?

  • A. Select Add GPUs. Fill in persistent disk storage and snapshot storage.
  • B. Fill in local SSD. Add estimated cost for cluster management.
  • C. Fill in local SSD. Fill in persistent disk storage and snapshot storage.
  • D. Select Add GPUs. Add estimated cost for cluster management.

Answer: A

Explanation:
Explanation/Reference: https://cloud.google.com/products/calculator#tab=container

 

NEW QUESTION 121
You need to assign a Cloud Identity and Access Management (Cloud IAM) role to an external auditor. The auditor needs to have permissions to review your Google Cloud Platform (GCP) Audit Logs and also to review your Data Access logs. What should you do?

  • A. Assign the auditor the IAM role roles/logging.privateLogViewer.
    Perform the export of logs to Cloud Storage.
  • B. Assign the auditor's IAM user to a custom role that has logging.privateLogEntries.list permission.
    Direct the auditor to also review the logs for changes to Cloud IAM policy.
  • C. Assign the auditor the IAM role roles/logging.privateLogViewer.
    Direct the auditor to also review the logs for changes to Cloud IAM policy.
  • D. Assign the auditor's IAM user to a custom role that has logging.privateLogEntries.list permission.
    Perform the export of logs to Cloud Storage.

Answer: C

 

NEW QUESTION 122
You need to create a new billing account and then link it with an existing Google Cloud Platform project. What should you do?

  • A. Verify that you are Billing Administrator for the billing account. Update the existing project to link it to the existing billing account.
  • B. Verify that you are Project Billing Manager for the GCP project. Create a new billing account and link the new billing account to the existing project.
  • C. Verify that you are Billing Administrator for the billing account. Create a new project and link the new project to the existing billing account.
  • D. Verify that you are Project Billing Manager for the GCP project. Update the existing project to link it to the existing billing account.

Answer: C

 

NEW QUESTION 123
After reviewing their logs, a startup company noticed large, random spikes in traffic to their web application.
The company wants to configure a cost-efficient Auto Scaling solution to support high availability of the web application.
Which scaling plan should a Solutions Architect recommend to meet the company's needs?

  • A. Lifecycle
  • B. Manual
  • C. Dynamic
  • D. Scheduled

Answer: C

 

NEW QUESTION 124
You want to configure a solution for archiving data in a Cloud Storage bucket. The solution must be cost-effective. Data with multiple versions should be archived after 30 days. Previous versions are accessed once a month for reporting. This archive data is also occasionally updated at month-end. What should you do?

  • A. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Nearline Storage.
  • B. Add a bucket lifecycle rule that archives data from regional storage after 30 days to Coldline Storage.
  • C. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Nearline Storage.
  • D. Add a bucket lifecycle rule that archives data with newer versions after 30 days to Coldline Storage.

Answer: C

 

NEW QUESTION 125
A Solutions Architect needs to design a centralized logging solution for a group of web applications running on Amazon EC2 instances. The solution requires minimal development effort due to budget constraints.
Which of the following should the Architect recommend?

  • A. Install and configure Amazon CloudWatch Logs agent in the Amazon EC2 instances.
  • B. Enable Amazon CloudWatch Events in the AWS Management Console.
  • C. Enable AWS CloudTrail to map all API calls invoked by the applications.
  • D. Create a crontab job script in each instance to push the logs regularly to Amazon S3.

Answer: A

 

NEW QUESTION 126
You need to create a copy of a custom Compute Engine virtual machine (VM) to facilitate an expected increase in application traffic due to a business acquisition. What should you do?

  • A. Create a Compute Engine snapshot of your base VM. Create your images from that snapshot.
  • B. Create a Compute Engine snapshot of your base VM. Create your instances from that snapshot.
  • C. Create a custom Compute Engine image from a snapshot. Create your instances from that image.
  • D. Create a custom Compute Engine image from a snapshot. Create your images from that image.

Answer: C

Explanation:
Explanation
A custom image belongs only to your project. To create an instance with a custom image, you must first have a custom image.

 

NEW QUESTION 127
You deployed a new application inside your Google Kubernetes Engine cluster using the YAML file specified below.

You check the status of the deployed pods and notice that one of them is still in PENDING status:

You want to find out why the pod is stuck in pending status. What should you do?

  • A. Review details of myapp-deployment-58ddbbb995-lp86m Pod and check for warning messages.
  • B. Review details of the myapp-deployment Deployment object and check for error messages.
  • C. Review details of the myapp-service Service object and check for error messages.
  • D. View logs of the container in myapp-deployment-58ddbbb995-lp86m pod and check for warning messages.

Answer: A

 

NEW QUESTION 128
Your company uses Cloud Storage to store application backup files for disaster recovery purposes. You want to follow Google's recommended practices. Which storage option should you use?

  • A. Coldline Storage
  • B. Nearline Storage
  • C. Multi-Regional Storage
  • D. Regional Storage

Answer: A

Explanation:
Reference:
https://cloud.google.com/storage/docs/storage-classes#nearline

 

NEW QUESTION 129
You've seen some errors in the logs for a specific Deployment. You've narrowed the issue down to the Pod named "ad-generator" that is throwing the errors. Your engineers aren't able to reproduce the error in any other environment. They've told you that if they could just "connect into the container" for 5 minutes, they could figure out the root cause. What steps would allow them to run commands against the container?

  • A. Use the kubectl exec -it ad-generator -- /bin/bash command to run a shell on that container.
  • B. Use the kubectl exec -it -- /bin/bash command to run a shell on that container.
  • C. Use the kubectl run ad-generator /bin/bash command to run a shell on that container.
  • D. Use the kubectl run command to run a shell on that container.

Answer: A

 

NEW QUESTION 130
You are given a project with a single virtual private cloud (VPC) and a single subnetwork in the us-central1 region. There is a Compute Engine instance hosting an application in this subnetwork. You need to deploy a new instance in the same project in the europe-west1 region.
This new instance needs access to the application. You want to follow Google-recommended practices. What should you do?

  • A. 1. Create a VPC and a subnetwork in europe-west1.
    2. Expose the application with an internal load balancer.
    3. Create the new instance in the new subnetwork and use the load balancer's address as the endpoint.
  • B. 1. Create a subnetwork in the same VPC, in europe-west1.
    2. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.
  • C. 1. Create a subnetwork in the same VPC, in europe-west1.
    2. Use Cloud VPN to connect the two subnetworks.
    3. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.
  • D. 1. Create a VPC and a subnetwork in europe-west1.
    2. Peer the 2 VPCs.
    3. Create the new instance in the new subnetwork and use the first instance's private address as the endpoint.

Answer: B

 

NEW QUESTION 131
You have deployed an application on a single Compute Engine instance. The application writes logs to disk. Users start reporting errors with the application. You want to diagnose the problem. What should you do?

  • A. Install and configure the Cloud Logging Agent and view the logs from Cloud Logging.
  • B. Navigate to Cloud Logging and view the application logs.
  • C. Connect to the instance's serial console and read the application logs.
  • D. Configure a Health Check on the instance and set a Low Healthy Threshold value.

Answer: A

Explanation:
Reference:
https://cloud.google.com/error-reporting/docs/setup/compute-engine

 

NEW QUESTION 132
Your team uses a third-party monitoring solution. They've asked you to deploy it to the nodes in your Kubernetes Engine Cluster. What's the best way to do that?

  • A. Use Deployment Manager to deploy the monitoring solution.
  • B. Deploy the monitoring pod as a Deployment.
  • C. Deploy the monitoring pod as a DaemonSet.
  • D. Connect to each node via SSH and install the monitoring solution.

Answer: C

 

NEW QUESTION 133
You want to configure 10 Compute Engine instances for availability when maintenance occurs.
Your requirements state that these instances should attempt to automatically restart if they crash.
Also, the instances should be highly available including during system maintenance. What should you do?

  • A. Create an instance group for the instance.
    Verify that the `Advanced creation options' setting for `do not retry machine creation' is set to off.
  • B. Create an instance template for the instances.
    `Automatic Restart' to off. Set `On-host maintenance' to Terminate VM instances.
    Add the instance template to an instance group.
  • C. Create an instance template for the instances.
    Set the `Automatic Restart' to on. Set the `On-host maintenance' to Migrate VM instance.
    Add the instance template to an intsance group.
  • D. Create an instance group for the instances.
    Set the `Autohealing' health check to healthy (HTTP).

Answer: C

Explanation:
Configure an instance's maintenance behavior and automatic restart setting using the onHostMaintenance and automaticRestart properties. All instances are configured with default values unless you explicitly specify otherwise.
onHostMaintenance: Determines the behavior when a maintenance event occurs that might cause your instance to reboot.
[Default] migrate, which causes Compute Engine to live migrate an instance when there is a maintenance event.
terminate, which terminates an instance instead of migrating it.

 

NEW QUESTION 134
You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory.
What should you do?

  • A. Rely on live migration to move the workload to a machine with more memory.
  • B. Stop the VM, increase the memory to 8 GB, and start the VM.
  • C. Use gcloud to add metadata to the VM. Set the key to required-memory-sizeand the value to
    8 GB.
  • D. Stop the VM, change the machine type to n1-standard-8, and start the VM.

Answer: B

 

NEW QUESTION 135
Your customer has implemented a solution that uses Cloud Spanner and notices some read latency-related performance issues on one table. This table is accessed only by their users using a primary key. The table schema is shown below.

You want to resolve the issue. What should you do?

  • A. Create a secondary index using the following Data Definition Language (DDL):
  • B. Add a secondary index on the person_id column.
  • C. Remove the profile_picture field from the table.
  • D. Change the primary key to not have monotonically increasing values.

Answer: A

 

NEW QUESTION 136
You are the team lead of a group of 10 developers. You provided each developer with an individual Google Cloud Project that they can use as their personal sandbox to experiment with different Google Cloud solutions.
You want to be notified if any of the developers are spending above $500 per month on their sandbox environment. What should you do?

  • A. Create a separate billing account per sandbox project and enable BigQuery billing exports. Create a Data Studio dashboard to plot the spending per billing account.
  • B. Create a budget per project and configure budget alerts on all of these budgets.
  • C. Create a single billing account for all sandbox projects and enable BigQuery billing exports. Create a Data Studio dashboard to plot the spending per project.
  • D. Create a single budget for all projects and configure budget alerts on this budget.

Answer: B

Explanation:
Explanation/Reference: https://cloud.google.com/billing/docs/how-to/budgets

 

NEW QUESTION 137
You need to provide a cost estimate for a Kubernetes cluster using the GCP pricing calculator for Kubernetes. Your workload requires high IOPs, and you will also be using disk snapshots. You start by entering the number of nodes, average hours, and average days. What should you do next?

  • A. Select Add GPUs. Fill in persistent disk storage and snapshot storage.
  • B. Fill in local SSD. Add estimated cost for cluster management.
  • C. Fill in local SSD. Fill in persistent disk storage and snapshot storage.
  • D. Select Add GPUs. Add estimated cost for cluster management.

Answer: A

 

NEW QUESTION 138
You've been asked to help onboard a new member of the big-data team. They need full access to BigQuery. Which type of role would be the most efficient to set up while following the principle of least privilege?

  • A. Custom Role
  • B. Primitive Role
  • C. Managed Role
  • D. Predefined Role

Answer: D

 

NEW QUESTION 139
You've setup and tested several custom roles in your development project. What is the fastest way to create the same roles for your new production project?

  • A. Use the gcloud iam copy roles command and set the destination project.
  • B. Use the gcloud iam roles copy command and set the destination project.
  • C. In the UI, select the roles and click the Export button.
  • D. Recreate them in the new project.

Answer: B

 

NEW QUESTION 140
You need to configure IAM access audit logging in BigQuery for external auditors. You want to follow Google- recommended practices. What should you do?

  • A. Add the auditor user accounts to the 'logging.viewer' and 'bigQuery.dataViewer' predefined IAM roles.
  • B. Add the auditors group to two new custom IAM roles.
  • C. Add the auditors group to the 'logging.viewer' and 'bigQuery.dataViewer' predefined IAM roles.
  • D. Add the auditor user accounts to two new custom IAM roles.

Answer: A

Explanation:
Explanation/Reference: https://cloud.google.com/iam/docs/roles-audit-logging

 

NEW QUESTION 141
You're working on creating a script that can extract the IP address of a Kubernetes Service. Your coworker sent you a code snippet that they had saved. Which one is the best starting point for your code?

  • A. kubectl get svc
  • B. kubectl get svc -o jsonpath='{.items[*].status.loadBalancer.ingress[0].ip}'
  • C. kubectl get svc -o filtered- json='{.items[*].status.loadBalancer.ingress[0].ip}'
  • D. kubectl get svc -o html

Answer: B

 

NEW QUESTION 142
You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?

  • A. Use kubectl app deploy <dockerfilename>.
  • B. 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.
  • C. Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
  • D. Use gcloud app deploy <dockerfilename>.

Answer: B

 

NEW QUESTION 143
You have an application that uses Cloud Spanner as a backend database. The application has a very predictable traffic pattern. You want to automatically scale up or down the number of Spanner nodes depending on traffic. What should you do?

  • A. Create a Stackdriver alerting policy to send an alert to oncall SRE emails when Cloud Spanner CPU exceeds the threshold. SREs would scale resources up or down accordingly.
  • B. Create a cron job that runs on a scheduled basis to review stackdriver monitoring metrics, and then resize the Spanner instance accordingly.
  • C. Create a Stackdriver alerting policy to send an alert to webhook when Cloud Spanner CPU is over or under your threshold. Create a Cloud Function that listens to HTTP and resizes Spanner resources accordingly.
  • D. Create a Stackdriver alerting policy to send an alert to Google Cloud Support email when Cloud Spanner CPU exceeds your threshold. Google support would scale resources up or down accordingly.

Answer: C

 

NEW QUESTION 144
......

Updated Exam Associate-Cloud-Engineer Dumps with New Questions: https://www.realvce.com/Associate-Cloud-Engineer_free-dumps.html

Dumps to Pass your Associate-Cloud-Engineer Exam with 100% Real Questions and Answers: https://drive.google.com/open?id=11D5QVmSb2-cInJeCiUiGH50jrnux6iMR