Courseiva

CCNA Data Analysis And Presentation Questions

54 questions · Data Analysis And Presentation · All types, answers revealed

1
MCQmedium

You have a large table in BigQuery that is updated constantly. You need to perform a query that is consistent. What should you use?

A.A stored procedure.
B.An external table.
C.Time travel / Table snapshots.
D.A materialized view.
AnswerC

This lets you query data as it existed at a past time.

Why this answer

Table snapshots allow you to query a consistent version of a table from a specific point in time.

2
MCQeasy

What is the primary function of a Looker Explore?

A.To automatically delete old data.
B.To act as a database backup.
C.To act as an email client.
D.To allow users to explore and visualize data.
AnswerD

This is the core purpose of the Explore UI.

Why this answer

An Explore is the user-friendly interface that allows analysts to query and visualize data defined in LookML.

3
MCQmedium

You need to analyze a petabyte-scale dataset in BigQuery. To optimize cost, you must ensure that users only query relevant partitions. How should you enforce this?

A.Enable the 'Require partition filter' option in the table settings.
B.Use a materialized view for all queries.
C.Apply a data masking policy to the partitioning column.
D.Set a project-level query quota.
AnswerA

This setting directly prevents queries that do not filter by the partitioning column.

Why this answer

Requiring partition filters forces users to include a WHERE clause on the partitioning column, preventing full table scans.

4
MCQeasy

Which of the following describes the purpose of 'BigQuery ML'?

A.To run machine learning models using SQL.
B.To create dashboard charts.
C.To compress table data.
D.To manage IAM permissions.
AnswerA

This allows data practitioners to do ML without leaving SQL.

Why this answer

BQML allows users to build and run machine learning models using standard SQL within BigQuery.

5
MCQhard

You notice your Looker dashboard is showing duplicate data. What is the most likely cause?

A.The data is cached in the browser.
B.Fan-out due to a join without correctly defined primary keys.
C.The user is logged in twice.
D.The BigQuery table is corrupted.
AnswerB

This is the classic cause of duplication in Looker.

Why this answer

Fan-outs occur when joining a one-to-many relationship without correctly defining the primary key or using the correct aggregate type.

6
MCQmedium

A user wants to see the top 10 products sold, but also an 'Other' category for the rest. How can you achieve this in a Looker Explore?

A.Change the sort order.
B.Use a table calculation.
C.Create a dimension using a 'CASE' statement to group items.
D.Filter the report by 'Top 10'.
AnswerC

This is the standard approach to bucket categories.

Why this answer

A 'Dimension Fill' or using a 'Case' statement in a dimension allows grouping everything else into an 'Other' bucket.

7
MCQmedium

A colleague has shared a Vertex AI Workbench notebook with you. How can you run it?

A.Open the notebook in a managed instance and click 'Run'.
B.Copy the code into a BigQuery query window.
C.Paste it into the Cloud Shell terminal.
D.Deploy it to App Engine.
AnswerA

This allows you to execute the code in your own compute environment.

Why this answer

You can open it in a managed instance and run the cells directly in the browser interface.

8
MCQmedium

A user needs to see the distribution of values in a column in BigQuery. Which visualization approach is most effective for this?

A.Histogram.
B.Line chart.
C.Pie chart.
D.Scatter plot.
AnswerA

Histograms show frequency distributions of continuous variables.

Why this answer

A histogram is the standard statistical visualization for showing the distribution of numerical data.

9
MCQhard

In Looker, what is the impact of defining a 'primary_key' in a LookML view?

A.It forces the database to create an index.
B.It helps Looker avoid fan-outs during joins.
C.It changes the data type to an integer.
D.It restricts users from filtering by that column.
AnswerB

Primary keys are required for correct join logic and avoiding double-counting.

Why this answer

Defining a primary key is essential for Looker to calculate accurate counts and prevent fan-outs (fan-out avoidance) when joining tables.

10
MCQhard

When optimizing a Looker model, you want to prevent users from accidentally running very expensive queries. Which parameter should you use in LookML?

A.query_limit
B.access_filter
C.always_filter
D.sql_always_where
AnswerD

This ensures a filter is applied to every query generated by the Explore.

Why this answer

The 'sql_always_where' parameter forces a filter on every query, which is an effective guardrail for cost and performance.

11
MCQeasy

Which BigQuery feature allows you to monitor query usage and identify expensive queries?

A.Billing Reports.
B.Cloud Logging.
C.INFORMATION_SCHEMA.JOBS
D.BigQuery Monitoring Dashboard.
AnswerC

This is the source of truth for query performance and cost history.

Why this answer

The 'INFORMATION_SCHEMA.JOBS' view contains metadata about all queries executed in the project.

12
MCQeasy

Which service is the primary tool for managing and running Jupyter notebooks in a managed environment within Google Cloud?

A.Vertex AI Workbench.
B.Cloud Run.
C.Dataflow.
D.BigQuery Studio.
AnswerA

This is the current standard for managed notebooks in Google Cloud.

Why this answer

Vertex AI Workbench is the managed service for running Jupyter notebook instances.

13
MCQhard

You are analyzing query performance in BigQuery. You notice that your queries are spilling to disk. What is the most likely cause?

A.The project is using On-Demand pricing.
B.The dataset is stored in a multi-region location.
C.Using too many slots in the reservation.
D.An inefficient JOIN or GROUP BY operation causing high memory pressure.
AnswerD

Memory-intensive operations on non-optimized data result in disk spills.

Why this answer

Operations like ORDER BY, JOIN, or GROUP BY on large datasets without efficient distribution or filtering often cause spills to disk when memory limits are exceeded.

14
MCQeasy

A data scientist is using Vertex AI Workbench and needs to share a notebook with a team member who only needs read access. What is the most secure way to do this?

A.Add the user as a 'Vertex AI User' on your project.
B.Grant the user 'Storage Object Viewer' role on the Cloud Storage bucket containing the .ipynb file.
C.Copy the notebook code into an email.
D.Change the instance permissions to 'Public'.
AnswerB

This provides read-only access to the file without granting compute permissions.

Why this answer

Storing the notebook in Cloud Storage and using IAM permissions is the standard way to share notebook artifacts.

15
MCQmedium

When creating a dashboard in Looker Studio, which connector type allows you to connect to an arbitrary SQL query?

A.Direct table link.
B.LookML model connector.
C.Spreadsheet connector.
D.Custom query.
AnswerD

This allows for complex logic directly in the data source.

Why this answer

The 'Custom Query' option in the BigQuery connector allows users to enter raw SQL.

16
Multi-Selecteasy

Which TWO of the following are valid ways to visualize BigQuery data within the Google Cloud ecosystem?

Select 2 answers
A.Cloud Storage
B.Pub/Sub
C.Looker Studio
D.Bigtable
E.Looker
AnswersC, E

Looker Studio is the native, no-cost visualization tool.

Why this answer

Looker Studio and Looker are the primary visualization tools for BigQuery data.

17
Multi-Selectmedium

Which THREE features does Looker offer to support data governance?

Select 3 answers
A.Automated email subject line generation
B.Custom chart color themes
C.Centralized LookML modeling
D.Content access controls
E.Audit logs for tracking activity
AnswersC, D, E

Ensures one source of truth for business logic.

Why this answer

Governance is supported by central modeling, user permissions, and audit logs.

18
Multi-Selecthard

Which THREE of these are valid ways to monitor or analyze BigQuery performance?

Select 3 answers
A.Query Plan explanation
B.INFORMATION_SCHEMA.JOBS_BY_PROJECT
C.Editing the table schema
D.Changing the project billing currency
E.BigQuery Monitoring dashboard in Cloud Console
AnswersA, B, E

Shows the execution stages of a query.

Why this answer

Performance analysis is done via metadata views, query plans, and monitoring dashboards.

19
Multi-Selectmedium

Which THREE items can be added to a Looker Studio report to enhance interactivity?

Select 3 answers
A.Drop-down filter
B.Company logo
C.Slider control
D.Text block
E.Date range control
AnswersA, C, E

Allows filtering by categorical values.

Why this answer

Controls allow users to change data views dynamically.

20
MCQeasy

You are working in a Vertex AI Workbench notebook and want to list the files in your current working directory. What command should you run?

A.find .
B.dir
C.list_files()
D.!ls
AnswerD

The '!' prefix allows executing shell commands from a notebook cell.

Why this answer

In a Jupyter-based environment, the `ls` command (prefix with % or ! if in a cell) lists files in the current folder.

21
MCQhard

A BigQuery table has 10 billion rows. You notice a query performing a cross-join is timing out. What should you do?

A.Replace the cross-join with a specific JOIN condition.
B.Use a wildcard table.
C.Cache the results in BigQuery.
D.Increase the number of slots.
AnswerA

JOIN ON is significantly more efficient than a cross-join.

Why this answer

Cross-joins on massive datasets are the leading cause of query failure; they should be avoided in favor of JOIN ON or other set-based operations.

22
Multi-Selecthard

Which TWO actions can help reduce the time it takes to build a Jupyter notebook in Vertex AI Workbench?

Select 2 answers
A.Scaling up the machine type for the instance
B.Change the project name
C.Disable the persistent disk
D.Using custom container images with pre-installed packages
E.Using a single-core machine
AnswersA, D

Larger machines can handle more compute tasks faster.

Why this answer

Optimizing compute and pre-installing environments can speed up development.

23
MCQeasy

In BigQuery, what does the 'Data Preview' tab show?

A.The edit history of the table.
B.A sample of the table data.
C.The billing usage for that table.
D.The full schema definition.
AnswerB

Previewing data is free and provides a quick look at the content.

Why this answer

The preview shows a sample of the rows in the table without consuming query quota or incurring costs.

24
MCQhard

In BigQuery, you want to improve query performance for a table that is frequently filtered by a `customer_id` column. What is the recommended strategy?

A.Add a primary key constraint.
B.Cluster the table by 'customer_id'.
C.Convert the table to a View.
D.Increase the number of slots in the reservation.
AnswerB

Clustering improves performance for filtering and grouping queries on the cluster key.

Why this answer

Clustering by `customer_id` organizes the data physically to optimize queries that filter by that specific column.

25
Multi-Selecteasy

Which TWO types of data sources can be used to create a dashboard in Looker Studio?

Select 2 answers
A.Google Cloud Functions
B.Google Cloud Billing console
C.Google Cloud IAM
D.BigQuery
E.Google Sheets
AnswersD, E

Native Google Cloud integration.

Why this answer

Looker Studio supports many connectors including BigQuery and flat files.

26
MCQmedium

You want to share a BigQuery dataset with a partner who uses a different Google Cloud project. What is the most secure way to grant them access?

A.Grant the partner's service account the 'BigQuery Data Viewer' role on the dataset.
B.Make the dataset public.
C.Provide the partner with your project's service account key.
D.Export the data to a public Cloud Storage bucket.
AnswerA

This is the least privilege, most secure way to share access.

Why this answer

Using IAM to grant 'BigQuery Data Viewer' on that specific dataset is the standard way to provide secure access.

27
MCQhard

You need to perform a time-series analysis in BigQuery. Your data contains timestamps at a millisecond level, but you need to aggregate by hour. What is the most performant way to truncate the timestamp?

A.EXTRACT(HOUR FROM timestamp_column).
B.CAST(timestamp_column AS STRING).
C.TIMESTAMP_TRUNC(timestamp_column, HOUR).
D.Using a CASE statement to manually subtract milliseconds.
AnswerC

This function is the standard and most performant way to truncate timestamps.

Why this answer

The TIMESTAMP_TRUNC function is highly optimized for this specific task in BigQuery.

28
Multi-Selecthard

Which TWO of the following SQL techniques in BigQuery are best for optimizing performance on large tables?

Select 2 answers
A.Running queries without a limit
B.Using Cartesian products for all joins
C.Filtering with WHERE clauses on indexed columns
D.Selecting only the columns needed
E.Using SELECT *
AnswersC, D

Pruning data is the most effective way to reduce cost and runtime.

Why this answer

Filtering and selecting specific columns are the two most important query optimization techniques.

29
MCQmedium

You want to automate the export of a BigQuery table to Cloud Storage on a daily basis. What should you use?

A.Cloud Monitoring alerts.
B.Looker studio refresh.
C.BigQuery Data Transfer Service.
D.A manual SQL query.
AnswerC

This service supports scheduled jobs for moving data.

Why this answer

BigQuery Data Transfer Service allows for scheduled exports and imports.

30
MCQmedium

When designing a Looker dashboard, you need to display a value that is the average of a specific metric across the entire dashboard. What is the best method?

A.Treemap.
B.Data table.
C.Waterfall chart.
D.Single Value visualization.
AnswerD

Single value tiles are perfect for highlighting KPIs and averages.

Why this answer

Single Value visualizations in Looker allow for displaying an aggregated metric clearly.

31
MCQmedium

Your team wants to visualize BigQuery data in Looker Studio. What is the most efficient way to ensure the dashboard reflects fresh data without manual refreshes?

A.Export the data to Google Sheets every hour.
B.Enable 'Automatic Refresh' in the Looker Studio browser extension.
C.Configure the data source to use 'Direct Query'.
D.Use a scheduled extract refresh.
AnswerC

Direct Query sends every request to BigQuery, ensuring data is as fresh as the underlying table.

Why this answer

Looker Studio supports query caching settings, but for live data, using the 'Direct Query' connection method is best.

32
MCQeasy

You are developing a dashboard in Looker. You notice that the 'Explore' menu is missing a specific set of fields. What should you check in the LookML model?

A.Check the project's 'BigQuery' location.
B.Verify the 'fields' parameter in the Explore definition.
C.Check if the table is indexed.
D.Clear the browser cache.
AnswerB

If fields are not exposed in the Explore definition, they cannot be used.

Why this answer

If fields are defined but not included in the Explore via the 'fields' parameter or 'join' syntax, they will not be visible.

33
MCQeasy

You are identifying trends in a large dataset using BigQuery. Which SQL function is best suited to identify the top 5 products sold per region?

A.GROUP BY region, product.
B.SELECT TOP 5 * FROM sales.
C.RANK() OVER (PARTITION BY region ORDER BY sales DESC).
D.SUM(sales) OVER (ORDER BY region).
AnswerC

This partitions the data by region and ranks sales, making it easy to filter for the top 5.

Why this answer

Window functions, specifically RANK() or DENSE_RANK() combined with PARTITION BY, are designed for this exact use case.

34
Multi-Selectmedium

Which THREE factors should you consider when choosing a partitioning strategy for a BigQuery table?

Select 3 answers
A.The database name
B.The table color in the console
C.The query frequency for specific date ranges
D.Common query filter columns
E.Data expiration/retention policies
AnswersC, D, E

Query patterns should dictate partition design.

Why this answer

Partitioning should be based on common filters, data size, and the query lifecycle.

35
MCQeasy

What is the benefit of using 'Scheduled Reports' in Looker?

A.To automatically email reports to stakeholders.
B.To increase the BigQuery slot limit.
C.To optimize the database performance.
D.To change the dashboard color.
AnswerA

This is a key feature for operationalizing insights.

Why this answer

Scheduled reports automatically deliver data to users via email, ensuring stakeholders get insights without logging in.

36
MCQhard

A user is running a query on a BigQuery table with nested data (JSON). How do you access a field named 'city' inside a record field named 'address'?

A.address->city
B.address.city
C.address[city]
D.JSON_EXTRACT(address, '$.city')
AnswerB

The dot operator is used for accessing nested fields.

Why this answer

Standard SQL uses the dot notation (dot-walk) to access fields within a STRUCT.

37
MCQmedium

A marketing manager needs to see daily sales trends in Looker. The underlying data is in BigQuery and is updated every 6 hours. What is the best way to visualize this?

A.Create a static PDF report sent via email.
B.Export BigQuery data to a CSV file.
C.Build a dashboard in Cloud Monitoring.
D.Create a Looker Explore and build a time-series line chart.
AnswerD

Explores allow for dynamic, accurate time-series visualization.

Why this answer

Creating a Looker Explore enables the manager to create visualizations dynamically while ensuring they always see the latest data from BigQuery.

38
MCQmedium

You are using Vertex AI Workbench and want to ensure your notebook environment persists after the instance is stopped. Where should you save your work?

A.In the root directory of the container image.
B.In a persistent disk attached to the Workbench instance.
C.In the local /tmp folder.
D.In the system memory.
AnswerB

Persistent disks retain data even when the VM is stopped.

Why this answer

Notebook instances are compute resources; the persistent disk attached to the instance or an external Cloud Storage bucket is required to keep data.

39
MCQhard

You are building a Looker dashboard and need to calculate the year-over-year growth rate. Which feature should you use to perform this without modifying the underlying SQL?

A.BigQuery query parameters.
B.Looker Table Calculations.
C.LookML derived tables with persistent caching.
D.Database-level User Defined Functions (UDFs).
AnswerB

Table calculations provide flexible, on-the-fly math capabilities.

Why this answer

Table calculations allow for creating new measures based on existing data in the Explore interface without affecting the underlying database model.

40
MCQeasy

When creating a Looker visualization, which chart type is best for showing the relationship between two numerical variables?

A.Donut chart.
B.Table chart.
C.Scatter plot.
D.Area chart.
AnswerC

Scatter plots display data points representing two variables.

Why this answer

A scatter plot is the standard chart for observing the correlation or relationship between two numeric axes.

41
MCQhard

You are creating a Looker report with a 'measure' that calculates the total revenue. You notice it is summing correctly but the format is wrong. Where do you change the format?

A.In the dashboard filter settings.
B.By editing the underlying SQL.
C.In the 'User' settings.
D.In the LookML view file using 'value_format_name'.
AnswerD

This is the standard way to apply currency or numeric formats.

Why this answer

The 'value_format_name' or 'value_format' parameter in the LookML view definition is where you control display formatting.

42
MCQeasy

When reviewing a Looker dashboard, which icon do you click to reload the data?

A.The refresh icon.
B.The edit icon.
C.The share icon.
D.The filter icon.
AnswerA

This triggers a re-query of the underlying data.

Why this answer

Looker dashboards have a refresh icon (circular arrow) that reloads the data based on current cache settings.

43
MCQmedium

You are querying a dataset in BigQuery that uses partitioning. Your query doesn't use the partitioning column. What is the consequence?

A.BigQuery will automatically optimize the scan.
B.The query will fail immediately.
C.The query results will be inaccurate.
D.The query will perform a full table scan.
AnswerD

This is the default and cost-inefficient behavior.

Why this answer

Without the partition filter, BigQuery performs a full table scan, increasing both cost and execution time.

44
MCQhard

In LookML, which parameter is used to define how a table should join to another?

A.relationship
B.join_type
C.dimension_group
D.foreign_key
AnswerA

This helps Looker understand how to aggregate joined data.

Why this answer

The 'relationship' parameter is essential for Looker to join tables correctly without errors.

45
MCQmedium

You have a Looker dashboard that loads slowly. What is the first thing you should check in the 'Looker System Activity' or 'Query History'?

A.Restart the Looker instance.
B.Check the Query History to see execution time and SQL complexity.
C.Delete all existing users.
D.Change the Looker instance color theme.
AnswerB

Understanding execution time and the generated SQL is the first step in troubleshooting.

Why this answer

Checking the query history helps identify if the underlying database is slow or if the Looker model is generating inefficient SQL.

46
MCQmedium

You need to export query results from BigQuery to a Google Sheet. What is the easiest way to do this?

A.Use the BigQuery Data Transfer Service.
B.Export to a CSV file and manually upload to Sheets.
C.Use the 'Save results' option and select 'Google Sheets'.
D.Write a Python script to call the Google Sheets API.
AnswerC

This provides a direct, simple integration.

Why this answer

BigQuery has a built-in 'Save Results' option that allows exporting directly to Google Sheets.

47
MCQhard

You have a query that processes 500GB of data. You want to reduce the cost of this query. What is the most effective approach?

A.Use a smaller machine type for the project.
B.Increase the query timeout limit.
C.Switch to BigQuery Omni.
D.Add a WHERE clause to filter by the partitioned column.
AnswerD

Limiting the data scanned is the primary cost-saving technique in BigQuery.

Why this answer

Filtering by partition columns drastically reduces the amount of data scanned, directly lowering the cost.

48
MCQmedium

You are writing a Python script in Vertex AI Workbench. You want to query BigQuery and load the result into a pandas DataFrame. Which library should you use?

A.requests
B.pandas-gbq
C.google-cloud-bigquery
D.sqlalchemy
AnswerC

This is the official client library for BigQuery integration with Python.

Why this answer

The `google-cloud-bigquery` library contains the `to_dataframe()` method which is specifically designed for this.

49
MCQmedium

A data analyst is working in a Vertex AI Workbench notebook. They want to connect to a private BigQuery dataset. How should they authenticate?

A.Enter your username and password in every query.
B.Hardcode the service account key in the notebook.
C.The instance's attached service account will handle authentication automatically.
D.Use the 'gcloud auth login' command in every cell.
AnswerC

Google Cloud handles authentication via service account scopes for managed notebooks.

Why this answer

Vertex AI Workbench notebooks automatically handle authentication using the instance's service account.

50
MCQmedium

You are using Vertex AI Workbench. You want to install a new Python library, `seaborn`, for visualization. What is the correct way to install it in the notebook instance?

A.!pip install seaborn
B.Use the Google Cloud Console library menu.
C.import seaborn
D.apt-get install seaborn
AnswerA

The '!' prefix allows running shell commands like pip install.

Why this answer

Using the pip magic command in a cell is the standard way to install libraries in a Jupyter environment.

51
MCQhard

You are building a Looker model and want to create a measure that calculates the count of distinct customers. Which type of measure should you use?

A.type: count
B.type: average_distinct
C.type: sum_distinct
D.type: count_distinct
AnswerD

This is the native LookML way to perform distinct counts.

Why this answer

The `count_distinct` type is specifically designed for calculating unique occurrences in LookML.

52
MCQmedium

You have a dashboard in Looker Studio and you want to allow users to dynamically change the date range without editing the report. What should you add?

A.Parameter.
B.Date range control.
C.Calculated field.
D.Chart interaction filter.
AnswerB

This component enables interactive filtering of the report's time dimension.

Why this answer

A 'Date range control' allows end users to filter the entire report by a specific timeframe.

53
MCQeasy

You need to change the color palette of your Looker dashboard charts. Where should you make this change?

A.Dashboard settings.
B.BigQuery project settings.
C.The user profile.
D.LookML model file.
AnswerA

Theme/palette settings are defined at the dashboard level.

Why this answer

Dashboard color settings are managed within the dashboard theme settings or the individual chart edit menu.

54
MCQhard

You are writing a complex BigQuery query and need to define a temporary table to use later in the same query. What is the most efficient syntax?

A.Nested subqueries.
B.WITH clause (CTE).
C.Variable declaration.
D.CREATE TABLE AS SELECT.
AnswerB

CTEs are standard, readable, and well-optimized by BigQuery.

Why this answer

Common Table Expressions (CTEs) defined with the WITH clause are the cleanest, most readable way to handle temporary logic.

Ready to test yourself?

Try a timed practice session using only Data Analysis And Presentation questions.