GCP-CLOUD-ARCHITECT practice question 10 of 10
You deploy your custom java application to google app engine. It fails to deploy and gives you the following stack trace:
Full set: 333 questionsDomain Ensuring solution and operations reliability
The stack trace with java.lang.SecurityException: SHA1 digest error indicates that one or more JAR files are signed but the embedded signature/digest is invalid (often corrupted during packaging). Re-signing the JARs (or removing the invalid signatures) and redeploying resolves the SHA-1 digest mismatch so App Engine can verify the archive at class-load time.
A. Recompiling a single class with MD5 does not correct manifest-signature mismatches across the whole JAR.
C. The problem is signature verification, not missing libraries; uploading additional JARs will not fix an invalid digest.
1. Oracle
“JAR File Specification – Signing and Verification”
Section 4.2
explains SHA-1 digest verification errors.
2. Google Cloud
“App Engine Standard for Java – Troubleshooting deployment errors”
paragraph “java.lang.SecurityException: SHA1 digest error”
recommends re-signing or removing signatures.
Keep practicing
Take the free GCP-CLOUD-ARCHITECT practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GCP-CLOUD-ARCHITECT practice questions
- Question 1Your organization uses Google Kubernetes Engine (GKE) and Amazon Elastic Kubernetes Servi…
- Question 2You want to enable your running Google Kubernetes Engine cluster to scale as demand for y…
- Question 3Your architecture calls for the centralized collection of all admin activity and VM syste…
- Question 4A global media company is launching a new web application. The application backend is hos…
- Question 5You manage a highly distributed, hybrid- and multi-cloud IT environment and your develope…
- Question 6Your company is developing a web-based application. You need to make sure that production…
