Exam Questions and Answers for Associate-Cloud-Engineer Study Guide Questions and Answers!
Google Associate Cloud Engineer Exam Certification Sample Questions and Practice Exam
NEW QUESTION 112
You have been asked to deploy a highly available Kubernetes cluster using Google Kubernetes Engine by your manager. While spinning up the cluster you realize you do not see option of creating master. What can be the reason?
- A. None of the above.
- B. Master node is created automatically by GKE.
- C. You need to spin up a compute instance and set it up as master node.
- D. GKE does not use master node to control child nodes.
Answer: B
NEW QUESTION 113
You need to connect to one of your Compute Engine instances using SSH. You've already authenticated gcloud, however, you don't have an SSH key deployed yet. In the fewest steps possible, what's the easiest way to connect to the app?
- A. Create a key with the ssh-keygen command. Upload the key to the instance. Run gcloud compute instances list to get the IP address of the instance, then use the ssh command.
- B. Use the gcloud compute ssh command.
- C. Create a key with the ssh-keygen command. Then use the gcloud compute ssh command.
- D. Run gcloud compute instances list to get the IP address of the instance, then use the ssh command.
Answer: B
NEW QUESTION 114
You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site. Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do?
- A. Add a label to the storage bucket with a key of Content-Type and value of application/pdf.
- B. Set Content-Type metadata to application/pdf on the PDF file objects.
- C. Enable 'Share publicly' on the PDF file objects.
- D. Enable Cloud CDN on the website frontend.
Answer: B
NEW QUESTION 115
An application generates daily reports in a Compute Engine virtual machine (VM). The VM is in the project corp-iot-insights. Your team operates only in the project corp-aggregate-reports and needs a copy of the daily exports in the bucket corp-aggregate-reports-storage. You want to configure access so that the daily reports from the VM are available in the bucket corp-aggregate-reports-storage and use as few steps as possible while following Google-recommended practices. What should you do?
- A. Move both projects under the same folder.
- B. Make corp-aggregate-reports-storage public and create a folder with a pseudo-randomized suffix name.
Share the folder with the IoT team. - C. Create a Shared VPC network between both projects. Grant the VM Service Account the role Storage Object Creator on corp-iot-insights.
- D. Grant the VM Service Account the role Storage Object Creator on corp-aggregate-reports-storage.
Answer: A
Explanation:
Explanation/Reference: https://cloud.google.com/billing/docs/onboarding-checklist
NEW QUESTION 116
You have an application that receives SSL-encrypted TCP traffic on port 443. Clients for this application are located all over the world. You want to minimize latency for the clients. Which load balancing option should you use?
- A. Internal TCP/UDP Load Balancer.
Add a firewall rule allowing ingress traffic from 0.0.0.0/0 on the target instances. - B. SSL Proxy Load Balancer
- C. HTTPS Load Balancer
- D. Network Load Balancer
Answer: B
Explanation:
https://cloud.google.com/load-balancing/docs/ssl
NEW QUESTION 117
You have downloaded and installed the gcloud command line interface (CLI) and have authenticated with your Google Account. Most of your Compute Engine instances in your project run in the europe-west1-d zone. You want to avoid having to specify this zone with each CLI command when managing these instances. What should you do?
- A. In the CLI installation directory, create a file called default.conf containing zone=europe-west1-d.
- B. Create a Metadata entry on the Compute Engine page with key compute/zone and value europe-west1-d.
- C. Set the europe-west1-d zone as the default zone using the gcloud config subcommand.
- D. In the Settings page for Compute Engine under Default location, set the zone to europe-west1-d.
Answer: A
Explanation:
Reference:
https://cloud.google.com/compute/docs/gcloud-compute
NEW QUESTION 118
You are deploying an application to a Compute Engine VM in a managed instance group. The application must be running at all times, but only a single instance of the VM should run per GCP project. How should you configure the instance group?
- A. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
- B. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 2.
- C. Set autoscaling to On, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
- D. Set autoscaling to Off, set the minimum number of instances to 1, and then set the maximum number of instances to 1.
Answer: C
Explanation:
If for any reason VM crashes autoscaling set as OFF wont spin another instance in its place which would defeat the purpose of always running VM(tough there will be some disruption) as -- Max-num-Instance is set to 1.
There is no mention of auto-healing is set or not which is disable by default.
B - Incorrect - Does not fit the requirement because AFTER the deletion of the instance, no other instance was created.
NEW QUESTION 119
You have 32 GB of data in a single file that you need to upload to a Nearline Storage bucket. The WAN connection you are using is rated at 1 Gbps, and you are the only one on the connection. You want to use as match of the rated 1 Gbps as possible to transfer the file rapidly. How should you upload the file?
- A. Use the GCP Console to transfer the file instead of gsutil.
- B. Decrease the TCP window size on the machine initiating the transfer.
- C. Enable parallel composite uploads using gsutil on the file transfer.
- D. Change the storage class of the bucket from Nearline to Multi-Regional.
Answer: C
NEW QUESTION 120
You are building an application that stores relational data from users. Users across the globe will use this application. Your CTO is concerned about the scaling requirements because the size of the user base is unknown. You need to implement a database solution that can scale with your user growth with minimum configuration changes. Which storage solution should you use?
- A. Cloud Datastore
- B. Cloud Firestore
- C. Cloud Spanner
- D. Cloud SQL
Answer: C
NEW QUESTION 121
You have a simple web application that you're trying to deploy in a secure and inexpensive way. The application is running inside a Docker container on port 8080. Once the application is initially deployed, the developers are going to take ownership of future deployments.
What is the best option for running the application?
- A. Use an on-premises Kubernetes cluster.
- B. Use Kubernetes Engine.
- C. Use an App Engine Standard Environment.
- D. Use an App Engine Flexible Environment.
Answer: D
NEW QUESTION 122
You host a static website on Cloud Storage. Recently, you began to include links to PDF files on this site.
Currently, when users click on the links to these PDF files, their browsers prompt them to save the file onto their local system. Instead, you want the clicked PDF files to be displayed within the browser window directly, without prompting the user to save the file locally. What should you do?
- A. Add a label to the storage bucket with a key of Content-Type and value of application/pdf.
- B. Set Content-Type metadata to application/pdf on the PDF file objects.
- C. Enable 'Share publicly' on the PDF file objects.
- D. Enable Cloud CDN on the website frontend.
Answer: B
NEW QUESTION 123
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?
- A. Arrange to switch to Flat-Rate pricing for this query, then move back to on-demand.
- B. Run a select count (*) to get an idea of how many records your query will look through. Then convert that number of rows to dollars using the Pricing Calculator.
- C. Use the command line to run a dry run query to estimate the number of bytes returned. Then convert that bytes estimate to dollars using the Pricing Calculator.
- D. 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.
Answer: D
NEW QUESTION 124
You are building a pipeline to process time-series dat
a. Which Google Cloud Platform services should you put in boxes 1,2,3, and 4?
- A. Firebase Messages, Cloud Pub/Sub, Cloud Spanner, BigQuery
- B. Cloud Pub/Sub, Cloud Dataflow, Cloud Datastore, BigQuery
- C. Cloud Pub/Sub, Cloud Storage, BigQuery, Cloud Bigtable
- D. Cloud Pub/Sub, Cloud Dataflow, Cloud Bigtable, BigQuery
Answer: D
NEW QUESTION 125
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?
- A. Create a managed instance group. Set the Autohealing health check to healthy (HTTP)
- B. Create a managed instance group. Verify that the autoscaling setting is on.
- C. Create an HTTP load balancer with a backend configuration that references an existing instance group. Define a balancing mode and set the maximum RPS to 10.
- D. Create an HTTP load balancer with a backend configuration that references an existing instance group. Set the health check to healthy (HTTP)
Answer: B
NEW QUESTION 126
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?
- A. 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.
- B. Set a Windows password in the GCP Console. Verify that a firewall rule for port 22 exists. Click the RDP button in the GCP Console and supply the credentials to log in.
- C. Set a Windows username and password in the GCP Console. Verify that a firewall rule for port 3389 exists. Click the RDP button in the GCP Console, and supply the credentials to log in.
- D. Install a RDP client on your desktop. Verify that a firewall rule for port 3389 exists.
Answer: A
NEW QUESTION 127
A team of data scientists infrequently needs to use a Google Kubernetes Engine (GKE) cluster that you manage. They require GPUs for some long-running, non-restartable jobs.
You want to minimize cost. What should you do?
- A. Create a VerticalPodAutscaler for those workloads.
- B. Create a node pool with preemptible VMs and GPUs attached to those VMs.
- C. Create a node pool of instances with GPUs, and enable autoscaling on this node pool with a minimum size of 1.
- D. Enable node auto-provisioning on the GKE cluster.
Answer: C
Explanation:
If you need something for long-running, non-restartable jobs you don't use preemptible VMs.
NEW QUESTION 128
You have a Compute Engine instance hosting an application used between 9 AM and 6 PM on weekdays. You want to back up this instance daily for disaster recovery purposes. You want to keep the backups for 30 days. You want the Google-recommended solution with the least management overhead and the least number of services. What should you do?
- A. 1. Update your instances' metadata to add the following value: snapshot-schedule: 0 1 * * *
2. Update your instances' metadata to add the following value: snapshot-retention: 30 - B. 1. Create a Cloud Function that creates a snapshot of your instance's disk.
2. Create a Cloud Function that deletes snapshots that are older than 30 days.
3. Use Cloud Scheduler to trigger both Cloud Functions daily at 1:00 AM. - C. 1. Create a bash script in the instance that copies the content of the disk to Cloud Storage.
2. Create a bash script in the instance that deletes data older than 30 days in the backup Cloud Storage bucket.
3. Configure the instance's crontab to execute these scripts daily at 1:00 AM. - D. 1. In the Cloud Console, go to the Compute Engine Disks page and select your instance's disk.
2. In the Snapshot Schedule section, select Create Schedule and configure the following parameters:
- Schedule frequency: Daily
- Start time: 1:00 AM - 2:00 AM
- Autodelete snapshots after 30 days
Answer: D
NEW QUESTION 129
......
Associate-Cloud-Engineer certification dumps - Google Cloud Certified Associate-Cloud-Engineer guides - 100% valid: https://www.itpassleader.com/Google/Associate-Cloud-Engineer-dumps-pass-exam.html
100% Pass Your Associate-Cloud-Engineer at First Attempt with ITPassLeader: https://drive.google.com/open?id=1aWXuCoawNjqJi0JtwBtaNkZSmT2s_LQs