You deploy your custom Java application to Google App Engine. It fails to deploy and gives you the following stack trace. What should you do?
Choose an answer
Tap an option to check your answer.
Correct answer: Digitally sign all of your JAR files and redeploy your application.
Why this is the answer
The stack trace indicates a java.lang.SecurityException: SHA1 digest error within CLoakedServlet. This error typically occurs when JAR files are unsigned or have been tampered with, causing the Java Security Manager to reject them. Digitally signing all JAR files with a valid certificate ensures their integrity and authenticity, resolving the SecurityException. Uploading missing JAR files might be necessary if dependencies are truly absent, but it won't fix a digest error. Recompiling with a different hash algorithm (MD5 instead of SHA1) is not a standard solution for this type of security exception and would likely not resolve the underlying trust issue.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed