Google Associate Cloud Engineer Practice Test - Questions Answers, Page 28
List of questions
Related questions
You want to host your video encoding software on Compute Engine. Your user base is growing rapidly, and users need to be able 3 to encode their videos at any time without interruption or CPU limitations. You must ensure that your encoding solution is highly available, and you want to follow Google-recommended practices to automate operations. What should you do?
Your customer wants you to create a secure website with autoscaling based on the compute instance CPU load. You want to enhance performance by storing static content in Cloud Storage. Which resources are needed to distribute the user traffic?
Your manager asks you to deploy a workload to a Kubernetes cluster. You are not sure of the workloads resource requirements or how the requirements might vary depending on usage patterns, external dependencies, or other factors. You need a solution that makes cost-effective recommendations regarding CPU and memory requirements, and allows the workload to function consistently in any situation. You want to follow Google-recommended practices. What should you do?
You need to extract text from audio files by using the Speech-to-Text API. The audio files are pushed to a Cloud Storage bucket. You need to implement a fully managed, serverless compute solution that requires authentication and aligns with Google-recommended practices. You want to automate the call to the API by submitting each file to the API as the audio file arrives in the bucket. What should you do?
You need to migrate invoice documents stored on-premises to Cloud Storage. The documents have the following storage requirements:
* Documents must be kept for five years.
* Up to five revisions of the same invoice document must be stored, to allow for corrections.
* Documents older than 365 days should be moved to lower cost storage tiers.
You want to follow Google-recommended practices to minimize your operational and development costs. What should you do?
You are running out of primary internal IP addresses in a subnet for a custom mode VPC. The subnet has the IP range 10.0.0.0/20. and the IP addresses are primarily used by virtual machines in the project. You need to provide more IP addresses for the virtual machines. What should you do?
Change the subnet IP range from 10.0.0.0/20 to 10.0.0.0/22.
Change the subnet IP range from 10.0 0.0/20 to 10.0.0.0718.
Add a secondary IP range 10.1.0.0/20 to the subnet.
Convert the subnet IP range from IPv4 to IPv6
Your company is running a three-tier web application on virtual machines that use a MySQL database. You need to create an estimated total cost of cloud infrastructure to run this application on Google Cloud instances and Cloud SQL. What should you do?
Use the Google Cloud Pricing Calculator to determine the cost of every Google Cloud resource you expect to use. Use similar size instances for the web server, and use your current on-premises machines as a comparison for Cloud SQL.
Implement a similar architecture on Google Cloud, and run a reasonable load test on a smaller scale. Check the billing information, and calculate the estimated costs based on the real load your system usually handles.
Use the Google Cloud Pricing Calculator and select the Cloud Operations template to define your web application with as much detail as possible.
Create a Google spreadsheet with multiple Google Cloud resource combinations. On a separate sheet, import the current Google Cloud prices and use these prices for the calculations within formulas.
Your application stores files on Cloud Storage by using the Standard Storage class. The application only requires access to files created in the last 30 days. You want to automatically save costs on files that are no longer accessed by the application. What should you do?
Create a retention policy on the storage bucket of 30 days, and lock the bucket by using a retention policy lock.
Enable object versioning on the storage bucket and add lifecycle rules to expire non-current versions after 30 days
Create an object lifecycle on the storage bucket to change the storage class to Archive Storage for objects with an age over 30 days.
Create a cron job in Cloud Scheduler to call a Cloud Functions instance every day to delete files older than 30 days.
You are a Google Cloud organization administrator. You need to configure organization policies and log sinks on Google Cloud projects that cannot be removed by project users to comply with your company's security policies. The security policies are different for each company department Each company department has a user with the Project Owner role assigned to their projects. What should you do?
Organize projects under folders for each department. Configure both organization policies and log sinks on the folders
Organize projects under folders for each department. Configure organization policies on the organization and log sinks on the folders.
Use a standard naming convention for projects that includes the department name. Configure organization policies on the organization and log sinks on the projects.
Use a standard naming convention for projects that includes the department name. Configure both organization policies and log sinks on the projects.
You are building a backend service for an ecommerce platform that will persist transaction data from mobile and web clients. After the platform is launched, you expect a large volume of global transactions. Your business team wants to run SQL queries to analyze the data. You need to build a highly available and scalable data store for the platform. What should you do?
Create a multi-region Cloud Spanner instance with an optimized schema.
Create a multi-region Firestore database with aggregation query enabled.
Create a multi-region Cloud SQL for PostgreSQL database with optimized indexes.
Create a multi-region BigQuery dataset with optimized tables.
Question