Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CC-24 ACE Quiz 1

Total questions: 10

Worksheet time: 10mins

Name
Class
Date
1.

Your company has reserved a monthly budget for your project. You want to be informed automatically of your project spend so that you can take action when you approach the limit. What should you do?

a)

Link a credit card with a monthly limit equal to your budget

b)

Create a budget alert for 50%, 90%, and 100% of your total monthly budget

c)

In App Engine Settings, set a daily budget at the rate of 1/30 of your monthly budget

d)

In the GCP Console, configure billing export to BigQuery. Create a saved view that queries your total spend

2.

03. You have an application server running on Compute Engine in the europe-west1-d zone. You need to ensure high availability and replicate the server to the europe-west2-c zone using the fewest steps possible.

What should you do?

a)

Create a snapshot from the disk. Create a disk from the snapshot in the europe-west2-c zone. Create a new VM with that disk

b)

Create a snapshot from the disk. Create a disk from the snapshot in the europe-west1-d zone and then move the disk to europe-west2-c. Create a new VM with that disk

c)

Use "gcloud" to copy the disk to the europe-west2-c zone. Create a new VM with that disk

d)

Use "gcloud compute instances move" with parameter "--destination-zone europe-west2-c" to move the instance to the new zone

3.

Your application has a large international audience and runs stateless virtual machines within a managed instance group across multiple locations.

One feature of the application lets users upload files and share them with other users. Files must be available for 30 days; after that, they are removed from the system entirely.

Which storage solution should you choose?

a)

A Cloud Datastore database

b)

A multi-regional Cloud Storage bucket

c)

Persistent SSD on virtual machine instances

d)

A managed instance group of Filestore servers

4.

The deployment team currently spends a lot of time creating and configuring VMs in Google Cloud Console, and feel they could be more productive and consistent if the same can be automated using Infrastructure as Code. You want to help them identify a suitable service. What should you recommend?

a)

Managed Instance Group (MIG)

b)

Unmanaged Instance Group

c)

Deployment Manager

d)

Cloud Build

5.

Your company owns a mobile game that is popular with users all over the world. The mobile game backend uses Cloud Spanner to store user state. An overnight job exports user state to a Cloud Storage bucket. Your operations team needs access to monitor the spanner instance but not have the permissions to view or edit user data. What IAM role should you grant the operations team?

a)

Grant the operations team roles/stackdriver.accounts. viewer IAM role

b)

Grant the operations team roles/spanner.database.reader IAM role

c)

Grant the operations team roles/monitoring.viewer IAM role

d)

Grant the operations team roles/spanner.database.user IAM role

6.

Your company has an App Engine application that needs to store stateful data in a proper storage service. Your data is non-relational data. You do not expect the database size to grow beyond 10 GB and you need to have the ability to scale down to zero to avoid unnecessary costs. Which storage service should you use?

a)

Cloud SQL

b)

Cloud Bigtable

c)

Cloud Datastore

d)

Cloud Dataproc

7.

You are migrating a Python application from your on-premises data centre to Google Cloud. You want to deploy the application Google App Engine, and you modified the python application to use Cloud Pub/Sub instead of RabbitMQ. The application uses a specific service account which has the necessary permissions to publish and subscribe on Cloud Pub/Sub; however, the operations team have not enabled the Cloud Pub/Sub API yet. What should you do?

a)

Grant roles/pubsub.admin IAM role to the service account and modify the application code to enable the API before publishing or subscribing

b)

Configure the App Engine Application in GCP Console to use the specific Service Account with the necessary IAM permissions and rely on the automatic enablement of the Cloud Pub/Sub API on the first request to publish or subscribe

c)

Navigate to the APIs & Services section in GCP console and enable Cloud Pub/Sub API

d)

Use deployment manager to configure the App Engine Application to use the specific Service Account with the necessary IAM permissions and rely on the automatic enablement of the Cloud Pub/Sub API on the first request to publish or subscribe

8.

Your company produces documentary videos for a reputed television channel and stores its videos in Google Cloud Storage for long term archival. Videos older than 90 days are accessed only in exceptional circumstances and videos older than one year are no longer needed. How should you optimise the storage to reduce costs?

a)

Use a Cloud Function to rewrite the storage class to Coldline for objects older than 90 days. Use another Cloud Function to delete objects older than 365 days from Coldline Storage Class

b)

Use a Cloud Function to rewrite the storage class to Nearline for objects older than 90 days. Use another Cloud Function to delete objects older than 365 days from Coldline Storage Class

c)

Configure a lifecycle rule to transition objects older than 90 days to Nearline Storage Class. Configure another lifecycle rule to delete objects older than 365 days from Coldline Storage Class

d)

Configure a lifecycle rule to transition objects older than 90 days to Coldline Storage Class. Configure another lifecycle rule to delete objects older than 365 days from Coldline Storage Class

9.

You developed an enhancement to a production application deployed in App Engine Standard service. Unit testing and user acceptance testing has succeeded, and you deployed the new version to production. Users have started complaining of slow performance after the recent update, and you need to revert to the previous version immediately. How can you do this?

a)

Deploy the previous version as a new App Engine Application and use traffic splitting feature to send all traffic to the new application

b)

In the App Engine Console, identify the App Engine application and select Revert

c)

In the App Engine Console, identify the App Engine application versions and make the previous version the default to route all traffic to it

d)

Execute gcloud app restore to rollback to the previous version

10.

You need to host an application on a Compute Engine instance in a project shared with other teams. You want to prevent the other teams from accidentally causing downtime on that application. Which feature should you use?

a)

Use a Shielded VM

b)

Use a Preemptible VM

c)

Use a sole-tenant node

d)

Enable deletion protection on the instance