Professional Cloud Architect Practice Test

Professional Cloud Architect Practice Test practice questions, page 15 of 15, with answer review and explanations.

Question 71

Your company is running a stateless application on a Compute Engine instance. The application is used heavily during regular business hours and lightly outside of business hours. Users are reporting that the application is slow during peak hours. You need to optimize the application's performance. What should you do?

  1. Create a snapshot of the existing disk. Create an instance template from the snapshot. Create an autoscaled managed instance group from the instance template.
  2. Create a snapshot of the existing disk. Create a custom image from the snapshot. Create an autoscaled managed instance group from the custom image.
  3. Create a custom image from the existing disk. Create an instance template from the custom image. Create an autoscaled managed instance group from the instance template.
  4. Create an instance template from the existing disk. Create a custom image from the instance template. Create an autoscaled managed instance group from the custom image.

Question 72

Your web application has several VM instances running within a VPC. You want to restrict communications between instances to only the paths and ports you authorize, but you don't want to rely on static IP addresses or subnets because the app can autoscale. How should you restrict communications?

  1. Use separate VPCs to restrict traffic
  2. Use firewall rules based on network tags attached to the compute instances
  3. Use Cloud DNS and only allow connections from authorized hostnames
  4. Use service accounts and configure the web application to authorize particular service accounts to have access