You are working on a social media application. You plan to add a feature that allows users to upload images. These images will be 2 MB `" 1 GB in size. You want to minimize their infrastructure operations overhead for this feature. What should you do?

PCD-2

Quiz
•
Professional Development
•
Professional Development
•
Medium

Balamurugan R
Used 17+ times
FREE Resource
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Change the application to accept images directly and store them in the database that stores other user information
Change the application to create signed URLs for Cloud Storage. Transfer these signed URLs to the client application to upload images to Cloud Storage.
Set up a web server on GCP to accept user images and create a file store to keep uploaded files. Change the application to retrieve images from the file store.
Create a separate bucket for each user in Cloud Storage. Assign a separate service account to allow write access on each bucket. Transfer service account credentials to the client application based on user information. The application uses this service account to upload images to Cloud Storage.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your application is built as a custom machine image. You have multiple unique deployments of the machine image. Each deployment is a separate managed instance group with its own template. Each deployment requires a unique set of configuration values. You want to provide these unique values to each deployment but use the same custom machine image in all deployments. You want to use out-of-the-box features of Compute Engine. What should you do?
Place the unique configuration values in the persistent disk.
Place the unique configuration values in a Cloud Bigtable table.
Place the unique configuration values in the instance template startup script
Place the unique configuration values in the instance template instance metadata.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your application performs well when tested locally, but it runs significantly slower after you deploy it to a Compute Engine instance. You need to diagnose the problem. What should you do? What should you do?
File a ticket with Cloud Support indicating that the application performs faster locally.
Use Cloud Debugger snapshots to look at a point-in-time execution of the application.
Use Cloud Profiler to determine which functions within the application take the longest amount of time.
Add logging commands to the application and use Cloud Logging to check where the latency problem occurs.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You have an application running in App Engine. Your application is instrumented with Stackdriver Trace. The /product-details request reports details about four known unique products at /sku-details as shown below. You want to reduce the time it takes for the request to complete. What should you do?
Increase the size of the instance class.
Change the Persistent Disk type to SSD
Change /product-details to perform the requests in parallel.
Store the /sku-details information in a database, and replace the webservice call with a database query.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your company has a data warehouse that keeps your application information in BigQuery. The BigQuery data warehouse keeps 2 PBs of user data. Recently, your company expanded your user base to include EU users and needs to comply with these requirements: ✑ Your company must be able to delete all user account information upon user request. ✑ All EU user data must be stored in a single region specifically for EU users. Which two actions should you take? (Choose two.)
Use BigQuery federated queries to query data from Cloud Storage.
Create a dataset in the EU region that will keep information about EU users only.
Create a Cloud Storage bucket in the EU region to store information for EU users only.
Re-upload your data using to a Cloud Dataflow pipeline by filtering your user records out.
Use DML statements in BigQuery to update/delete user records based on their requests.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your App Engine standard configuration is as follows: service: production instance_class: B1 You want to limit the application to 5 instances. Which code snippet should you include in your configuration?
manual_scaling: instances: 5 min_pending_latency: 30ms
manual_scaling: max_instances: 5 idle_timeout: 10m
basic_scaling: instances: 5 min_pending_latency: 30ms
basic_scaling: max_instances: 5 idle_timeout: 10m
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Your analytics system executes queries against a BigQuery dataset. The SQL query is executed in batch and passes the contents of a SQL file to the BigQuery CLI. Then it redirects the BigQuery CLI output to another process. However, you are getting a permission error from the BigQuery CLI when the queries are executed. You want to resolve the issue. What should you do?
Grant the service account BigQuery Data Viewer and BigQuery Job User roles.
Grant the service account BigQuery Data Editor and BigQuery Data Viewer roles.
Create a view in BigQuery from the SQL query and SELECT* from the view in the CLI.
Create a new dataset in BigQuery, and copy the source table to the new dataset Query the new dataset and table from the CLI.
Create a free account and access millions of resources
Similar Resources on Quizizz
50 questions
CDL-2

Quiz
•
Professional Development
51 questions
Training - Post Test

Quiz
•
Professional Development
50 questions
PCA-1

Quiz
•
Professional Development
50 questions
PDE-2022-2

Quiz
•
Professional Development
50 questions
PSE-3

Quiz
•
Professional Development
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #2

Quiz
•
University - Professi...
50 questions
Microsoft Azure Fundamentals AZ-900 ENG #6

Quiz
•
University - Professi...
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #4

Quiz
•
University - Professi...
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade