Professional-Cloud-Developer Professional Cloud Developer

Loading demo links...

Showing 10–12 of 15 questions

Question 10

You are running an application on App Engine that you inherited. You want to find out whether the application is using insecure binaries or is vulnerable to XSS attacks.

Which service should you use?

Select an option, then click Submit answer.

  • Cloud Amor

  • Stackdriver Debugger

  • Cloud Security Scanner

  • Stackdriver Error Reporting

Question 11

Your team is developing unit tests for Cloud Function code. The code is stored in a Cloud Source Repositories repository. You are responsible for implementing the tests. Only a specific service account has the necessary permissions to deploy the code to Cloud Functions. You want to ensure that the code cannot be deployed without first passing the tests. How should you configure the unit testing process?

Select an option, then click Submit answer.

  • Configure Cloud Build to deploy the Cloud Function. If the code passes the tests, a deployment approval is sent to you.

  • Configure Cloud Build to deploy the Cloud Function, using the specific service account as the build agent. Run the unit tests after successful deployment.

  • Configure Cloud Build to run the unit tests. If the code passes the tests, the developer deploys the Cloud Function.

  • Configure Cloud Build to run the unit tests, using the specific service account as the build agent. If the code passes the tests, Cloud Build deploys the Cloud Function.

Question 12

You are developing a web application that will be accessible over both HTTP and HTTPS and will run on Compute Engine instances. On occasion, you will need to SSH from your remote laptop into one of the Compute Engine instances to conduct maintenance on the app. How should you configure the instances while following Google-recommended best practices?

Select an option, then click Submit answer.

  • Set up a backend with Compute Engine web server instances with a private IP address behind a TCP proxy load balancer.

  • Configure the firewall rules to allow all ingress traffic to connect to the Compute Engine web servers, with each server having a unique external IP address.

  • Configure Cloud Identity-Aware Proxy API for SSH access. Then configure the Compute Engine servers with private IP addresses behind an HTTP(s) load balancer for the application web traffic.

  • Set up a backend with Compute Engine web server instances with a private IP address behind an HTTP(S) load balancer. Set up a bastion host with a public IP address and open firewall ports. Connect to the web instances using the bastion host.