Exam Details

  • Exam Code
    :PROFESSIONAL-CLOUD-DEVELOPER
  • Exam Name
    :Professional Cloud Developer
  • Certification
    :Google Certifications
  • Vendor
    :Google
  • Total Questions
    :254 Q&As
  • Last Updated
    :May 16, 2024

Google Google Certifications PROFESSIONAL-CLOUD-DEVELOPER Questions & Answers

  • Question 21:

    You want to use the Stackdriver Logging Agent to send an application's log file to Stackdriver from a Compute Engine virtual machine instance. After installing the Stackdriver Logging Agent, what should you do first?

    A. Enable the Error Reporting API on the project.

    B. Grant the instance full access to all Cloud APIs.

    C. Configure the application log file as a custom source.

    D. Create a Stackdriver Logs Export Sink with a filter that matches the application's log entries.

  • Question 22:

    You are developing a marquee stateless web application that will run on Google Cloud. The rate of the incoming user traffic is expected to be unpredictable, with no traffic on some days and large spikes on other days. You need the application to automatically scale up and down, and you need to minimize the cost associated with running the application. What should you do?

    A. Build the application in Python with Firestore as the database. Deploy the application to Cloud Run.

    B. Build the application in C# with Firestore as the database. Deploy the application to App Engine flexible environment.

    C. Build the application in Python with CloudSQL as the database. Deploy the application to App Engine standard environment.

    D. Build the application in Python with Firestore as the database. Deploy the application to a Compute Engine managed instance group with autoscaling.

  • Question 23:

    You are responsible for deploying a new API. That API will have three different URL paths:

    1.

    https://yourcompany.com/students

    2.

    https://yourcompany.com/teachers

    3.

    https://yourcompany.com/classes

    You need to configure each API URL path to invoke a different function in your code. What should you do?

    A. Create one Cloud Function as a backend service exposed using an HTTPS load balancer.

    B. Create three Cloud Functions exposed directly.

    C. Create one Cloud Function exposed directly.

    D. Create three Cloud Functions as three backend services exposed using an HTTPS load balancer.

  • Question 24:

    Your development team has been tasked with maintaining a .NET legacy application. The application incurs occasional changes and was recently updated. Your goal is to ensure that the application provides consistent results while moving through the CI/CD pipeline from environment to environment. You want to minimize the cost of deployment while making sure that external factors and dependencies between hosting environments are not problematic. Containers are not yet approved in your organization. What should you do?

    A. Rewrite the application using .NET Core, and deploy to Cloud Run. Use revisions to separate the environments.

    B. Use Cloud Build to deploy the application as a new Compute Engine image for each build. Use this image in each environment.

    C. Deploy the application using MS Web Deploy, and make sure to always use the latest, patched MS Windows Server base image in Compute Engine.

    D. Use Cloud Build to package the application, and deploy to a Google Kubernetes Engine cluster. Use namespaces to separate the environments.

  • Question 25:

    You migrated some of your applications to Google Cloud. You are using a legacy monitoring platform deployed on-premises for both on-premises and cloud-deployed applications. You discover that your notification system is responding slowly to time-critical problems in the cloud applications. What should you do?

    A. Replace your monitoring platform with Cloud Monitoring.

    B. Install the Cloud Monitoring agent on your Compute Engine instances.

    C. Migrate some traffic back to your old platform. Perform A/B testing on the two platforms concurrently.

    D. Use Cloud Logging and Cloud Monitoring to capture logs, monitor, and send alerts. Send them to your existing platform.

  • Question 26:

    You are using Cloud Run to host a web application. You need to securely obtain the application project ID and region where the application is running and display this information to users. You want to use the most performant approach. What should you do?

    A. Use HTTP requests to query the available metadata server at the http://metadata.google.internal/ endpoint with the Metadata-Flavor: Google header.

    B. In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Navigate to the Cloud Run "Variables and Secrets" tab, and add the desired environment variables in Key:Value format.

    C. In the Google Cloud console, navigate to the Project Dashboard and gather configuration details. Write the application configuration information to Cloud Run's in-memory container filesystem.

    D. Make an API call to the Cloud Asset Inventory API from the application and format the request to include instance metadata.

  • Question 27:

    You are developing a Java Web Server that needs to interact with Google Cloud services via the Google Cloud API on the user's behalf. Users should be able to authenticate to the Google Cloud API using their Google Cloud identities. Which workflow should you implement in your web application?

    A. 1) When a user arrives at your application, prompt them for their Google username and password. 2) Store an SHA password hash in your application's database along with the user's username. 3) The application authenticates to the Google Cloud API using HTTPs requests with the user's username and password hash in the Authorization request header.

    B. 1) When a user arrives at your application, prompt them for their Google username and password. 2) Forward the user's username and password in an HTTPS request to the Google Cloud authorization server, and request an access token. 3) The Google server validates the user's credentials and returns an access token to the application. 4) The application uses the access token to call the Google Cloud API.

    C. 1) When a user arrives at your application, route them to a Google Cloud consent screen with a list of requested permissions that prompts the user to sign in with SSO to their Google Account. 2) After the user signs in and provides consent, your application receives an authorization code from a Google server. 3) The Google server returns the authorization code to the user, which is stored in the browser's cookies. 4) The user authenticates to the Google Cloud API using the authorization code in the cookie.

    D. 1) When a user arrives at your application, route them to a Google Cloud consent screen with a list of requested permissions that prompts the user to sign in with SSO to their Google Account. 2) After the user signs in and provides consent, your application receives an authorization code from a Google server. 3) The application requests a Google Server to exchange the authorization code with an access token. 4) The Google server responds with the access token that is used by the application to call the Google Cloud API.

  • Question 28:

    Your development team has been asked to refactor an existing monolithic application into a set of composable microservices. Which design aspects should you implement for the new application? (Choose two.)

    A. Develop the microservice code in the same programming language used by the microservice caller.

    B. Create an API contract agreement between the microservice implementation and microservice caller.

    C. Require asynchronous communications between all microservice implementations and microservice callers.

    D. Ensure that sufficient instances of the microservice are running to accommodate the performance requirements.

    E. Implement a versioning scheme to permit future changes that could be incompatible with the current interface.

  • Question 29:

    You have an application deployed in production. When a new version is deployed, you want to ensure that all production traffic is routed to the new version of your application. You also want to keep the previous version deployed so that you can revert to it if there is an issue with the new version.

    Which deployment strategy should you use?

    A. Blue/green deployment

    B. Canary deployment

    C. Rolling deployment

    D. Recreate deployment

  • Question 30:

    You are building an API that will be used by Android and iOS apps The API must:

    1.

    Support HTTPs

    2.

    Minimize bandwidth cost

    3.

    Integrate easily with mobile apps

    Which API architecture should you use?

    A. RESTful APIs

    B. MQTT for APIs

    C. gRPC-based APIs

    D. SOAP-based APIs

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Google exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PROFESSIONAL-CLOUD-DEVELOPER exam preparations and Google certification application, do not hesitate to visit our Vcedump.com to find your solutions here.