You have developed a Cloud Function in Python to gcp video
developer-professional video for you have developed a Cloud Function in Python to process image uploads. The source code is stored in a Cloud Source Repository,
Answer
          Full Certification Question
You have developed a Cloud Function in Python to process image uploads. The source code is stored in a Cloud Source Repository, and you want to test this function automatically whenever code is pushed to the repository. You create a Cloud Build configuration to deploy the function, execute a test to simulate an image upload, and then delete the Cloud Function as cleanup. You find that if the test encounters an error, the cleanup step does not delete the Cloud Function. What should you do?