You're in charge of setting up a Stackdriver account to monitor 3 separate projects. Which of the following is a Google best practice?
A. Use the existing project with the least resources as the host project for the Stackdriver account.
B. Use the existing project with the most resources as the host project for the Stackdriver account.
C. Create a new, empty project to use as the host project for the Stackdriver account.
D. Use one of the existing projects as the host project for the Stackdriver account.
You're running an n-tier application on Compute Engine with an Apache web server serving up web requests. You want to consolidate all of your logging into Stackdriver. What's the best approach to get the Apache logs into Stackdriver?
A. Create a log sink and export it to Stackdriver.
B. Stackdriver logs application data from all instances by default.
C. Enable Stackdriver monitoring when creating the instance.
D. Install the Stackdriver monitoring and logging agents on the instance.
Your coworker has helped you set up several configurations for gcloud. You've noticed that you're running commands against the wrong project. Being new to the company, you haven't yet memorized any of the projects. With the fewest steps possible, what's the fastest way to switch to the correct configuration?
A. Run gcloud configurations list followed by gcloud configurations activate .
B. Run gcloud config list followed by gcloud config activate.
C. Run gcloud config configurations list followed by gcloud config configurations activate.
D. Re-authenticate with the gcloud auth login command and select the correct configurations on login.
You've created a new firewall rule to allow incoming traffic on port 22, using a target tag of "dev-ssh". You tried to connect to one of your instances, and you're still unable to connect. What steps do you need to take to resolve the problem?
A. Run the gcloud firewall-rules refresh command.
B. Use source tags in place of the target tags.
C. Reboot the instances for the firewall rule to take effect.
D. Apply a network tag of "dev-ssh" to the instance you're trying to connect into and test again.
You've been tasked with getting all of your team's public SSH keys onto all of the instances of a particular project. You've collected them all. With the fewest steps possible, what is the simplest way to get the keys deployed?
A. Add all of the keys into a file that's formatted according to the requirements. Use the gcloud compute instances add-metadata command to upload the keys to each instance
B. Add all of the keys into a file that's formatted according to the requirements. Use the gcloud compute project-info add-metadata command to upload the keys.
C. Use the gcloud compute ssh command to upload all the keys
D. Format all of the keys as needed and then, using the user interface, upload each key one at a time.
Your data team is working on some new machine learning models. They're generating several files per day that they want to store in a regional bucket. They mostly focus on the files from the last week. However, they want to keep all the files just to base safe. With the fewest steps possible, what's the best way to lower the storage costs?
A. Create a Cloud Function triggered when objects are added to a bucket. Look at the date on all the files and move it to nearline storage if it's older than a week.
B. Create a Cloud Function triggered when objects are added to a bucket. Look at the date on all the files and move it to coldline storage if it's older than a week.
C. Create a lifecycle policy to switch the objects older than a week to coldline storage.
D. Create a lifecycle policy to switch the objects older than a week to nearline storage.
You've created a Pod using the kubectl run command. Now you're attempting to remove the Pod, and it keeps being recreated. Which command might help you as you attempt to remove the pod?
A. gcloud container describe pods
B. kubectl get pods
C. kubectl get secrets
D. kubectl get deployments
Your developers have been thoroughly logging everything that happens in the API. The API allows end users to request the data as JSON, XML, CSV, and XLS. Supporting all of these formats is taking a lot of developer effort. Management would like to start tracking which options are used over the next month. Without modifying the code, what's the fastest way to be able to report on this data at the end of the month?
A. Create a custom counter logging metric that uses a regex to extract the data format into a label. At the end of the month, use the metric viewer to see the group by the label.
B. Create a log sink that filters for rows that mention the data format. Export that to BigQuery, and run a query at the end of the month.
C. Create a custom monitoring metric in code and edit the API code to set the metric each time the API is called.
D. Export the logs to excel, and search for the different fields.
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.
Your team needs to set up a new Jenkins instance as quickly as possible. What's the best way to get it up- and-running?
A. Use Google's Managed Jenkins Service.
B. Deploy the jar file to a Compute Engine instance.
C. Search the marketplace for Jenkins and install with Cloud Launcher.
D. Create a Deployment Manager template and deploy it.
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your ASSOCIATE-CLOUD-ENGINEER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.