
































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

































D. Cloud Datastore Why is this correct? Datastore can be queried, it's fully managed, and is a great option for catalog based applications. Datastore also supports a basic query/filter syntax.
the URL. Why is this correct? This will allow anyone with the URL to access the data for an hour.
Why is this incorrect? Windows instances don't use SSH, at least by default. They use RDP.
A. gcloud compute instances list B. gcloud compute images show-families C. gcloud compute instances show-families D. gcloud compute images list: B. gcloud compute images show- families Why is this incorrect? show-families is not a real command. Use list to list ott the images. D. gcloud compute images list Why is this correct? Family names are an attribute of images. This would list all the images and their family names.
C. kubectl get svc -o html Why is this incorrect? This isn't going to help you access what you need easily.
app.yaml Why is this incorrect? Apply is a command used a lot with kubectl. However, with App Engine, you use the deploy command.
replicas: 3 selector: matchLabels: app: "products-service" template: metadata: labels: app: "products-service" spec: containers:
A. In the UI select the objects and click the Generate Signed URL button. B. Create a service account and JSON key. Use the gsutil signurl -t 10m com-mand and pass in the JSON key and bucket. C. In the UI select the objects and click the "Sign With Key" button. D. Create a service account and JSON key. Use the gsutil signurl -d 10m command and pass in the JSON key and bucket.: C. In the UI select the objects and click the "Sign With Key" button. Why is this incorrect? This isn't a real thing. The CLI is the easiest option in this scenario. D. Create a service account and JSON key. Use the gsutil signurl -d 10m command and pass in the JSON key and bucket. Why is this correct? This is a quick way to generate the URL. This will create a signed URL that will expire in 10 minutes.
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.: 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. Why is this correct? This is a simple solution that only requires the metric to be created, and then Stackdriver will track each occurrence. D. Export the logs to excel, and search for the ditterent fields. Why is this incorrect? This sounds simple, however, by the time you get the logs filtered and exported into a form Excel can use, you could have already created the logging metric.
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.: C. Create a lifecycle policy to switch the objects older than a week to coldline storage. Why is this incorrect? Since they "mostly" focus on newer files, that means they sometimes need to access the old files. Coldline isn't the best option in this case. D. Create a lifecycle policy to switch the objects older than a week to nearline storage. Why is this correct?