Question 47

You are parsing a log file that contains three columns: a timestamp, an account number (a string), and a transaction amount (a number). You want to calculate the sum of all transaction amounts for each unique account number efficiently.
Which data structure should you use?
  • Question 48

    You want to upload files from an on-premises virtual machine to Google Cloud Storage as part of a data migration. These files will be consumed by Cloud DataProc Hadoop cluster in a GCP environment.
    Which command should you use?
  • Question 49

    HipLocal's APIs are showing occasional failures, but they cannot find a pattern.
    They want to collect some metrics to help them troubleshoot.
    What should they do?
  • Question 50

    Your teammate has asked you to review the code below. Its purpose is to efficiently add a large number of small rows to a BigQuery table.

    Which improvement should you suggest your teammate make?
  • Question 51

    You developed a JavaScript web application that needs to access Google Drive's API and obtain permission from users to store files in their Google Drives. You need to select an authorization approach for your application. What should you do?