WorksheetsCC-24 ACE Quiz 1
Total questions: 10
Worksheet time: 10mins
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?
Link a credit card with a monthly limit equal to your budget
Create a budget alert for 50%, 90%, and 100% of your total monthly budget
In App Engine Settings, set a daily budget at the rate of 1/30 of your monthly budget
In the GCP Console, configure billing export to BigQuery. Create a saved view that queries your total spend
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?
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
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
Use "gcloud" to copy the disk to the europe-west2-c zone. Create a new VM with that disk
Use "gcloud compute instances move" with parameter "--destination-zone europe-west2-c" to move the instance to the new zone
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 Cloud Datastore database
A multi-regional Cloud Storage bucket
Persistent SSD on virtual machine instances
A managed instance group of Filestore servers
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?
Managed Instance Group (MIG)
Unmanaged Instance Group
Deployment Manager
Cloud Build
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?
Grant the operations team roles/stackdriver.accounts. viewer IAM role
Grant the operations team roles/spanner.database.reader IAM role
Grant the operations team roles/monitoring.viewer IAM role
Grant the operations team roles/spanner.database.user IAM role
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?
Cloud SQL
Cloud Bigtable
Cloud Datastore
Cloud Dataproc
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?
Grant roles/pubsub.admin IAM role to the service account and modify the application code to enable the API before publishing or subscribing
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
Navigate to the APIs & Services section in GCP console and enable Cloud Pub/Sub API
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
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?
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
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
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
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
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?
Deploy the previous version as a new App Engine Application and use traffic splitting feature to send all traffic to the new application
In the App Engine Console, identify the App Engine application and select Revert
In the App Engine Console, identify the App Engine application versions and make the previous version the default to route all traffic to it
Execute gcloud app restore to rollback to the previous version
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?
Use a Shielded VM
Use a Preemptible VM
Use a sole-tenant node
Enable deletion protection on the instance
