
PCD-2
Authored by Balamurugan R
Professional Development
Professional Development
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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?
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
KUIS LATIHAN 50 SOAL
Quiz
•
Professional Development
46 questions
Rejestracja i obróbka obrazu
Quiz
•
Professional Development
49 questions
Child Development 2
Quiz
•
Professional Development
55 questions
International Talent in Sweden
Quiz
•
Professional Development
46 questions
MA (New Mock-4, 23)
Quiz
•
Professional Development
49 questions
TECLADO
Quiz
•
Professional Development
48 questions
Top Notch Fundamentals 1-7 Review
Quiz
•
Professional Development
50 questions
3 rd Year Placement Test-1
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade