Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 38 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 38
Topic #: 1
[All Professional Cloud Architect Questions]

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?

  • A. Upload missing JAR files and redeploy your application.
  • B. Digitally sign all of your JAR files and redeploy your application
  • C. Recompile the CLoakedServlet class using and MD5 hash instead of SHA1
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Eroc
Highly Voted 5 years ago
Signing the JAR files grants it permissions. (https://docs.oracle.com/javase/tutorial/deployment/jar/signindex.html)
upvoted 23 times
tartar
4 years, 3 months ago
B is ok
upvoted 9 times
Urban_Life
3 years, 1 month ago
Where do you go? when we need you for other questions. Plz ans other q's if you have time
upvoted 2 times
...
...
nitinz
3 years, 8 months ago
B, SHA1 Digest error in the first line in the error code. With Java errors, always focus on the first line in the error code, rest of the lines are garbage **mostly**.
upvoted 18 times
...
...
omermahgoub
Highly Voted 1 year, 11 months ago
The most likely cause of the error is that one of the JAR files in your application has been tampered with or is corrupt. The SHA1 digest error indicates that the JAR file's signature does not match the expected value, which could be due to tampering or corruption. To fix the issue, you should try uploading missing JAR files and redeploying your application. If the issue persists, you may need to digitally sign all of your JAR files and redeploy your application to ensure that the signatures are valid. You should not try to recompile the Cloaked
upvoted 12 times
...
Ekramy_Elnaggar
Most Recent 2 days, 18 hours ago
Selected Answer: B
1. JAR signing and integrity: Digitally signing your JAR files ensures their authenticity and integrity. It adds a digital signature that verifies the origin and confirms that the file hasn't been tampered with. This is crucial for security and prevents issues like the SHA1 digest error you're encountering. 2. App Engine requirement: Google App Engine enforces JAR signing for security reasons. All deployed applications must have properly signed JAR files.
upvoted 1 times
...
chrissamharris
1 week, 3 days ago
Selected Answer: A
A SHA1 digest error during the deployment of a Java application to Google App Engine (GAE) typically indicates an issue with the integrity of your JAR files. This error can arise due to corrupted, modified, or missing JAR files that are essential for your application to run correctly.
upvoted 1 times
...
lisabisa
8 months, 3 weeks ago
Selected Answer: A
A missing JAR (Java ARchive) file indicates a problem with the code to be deployed. B Digitally signing all of your JAR files indicates a problem with the signature. A is better
upvoted 3 times
...
AdityaGupta
1 year, 1 month ago
Selected Answer: B
"JavaVerifier.Java.428" is the key here
upvoted 1 times
...
SantoshPanigrahi
1 year, 3 months ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
JC0926
1 year, 8 months ago
Selected Answer: A
A. Upload missing JAR files and redeploy your application. The error message indicates that there is a problem with the SHA1 digest for the "com/altostrat/cloakedservlet.class" file. This can be caused by a corrupted or incomplete JAR file. Therefore, the best course of action is to upload any missing JAR files and redeploy the application.
upvoted 2 times
tocsa
5 months, 2 weeks ago
Corrupted or incomplete. But not missing.
upvoted 1 times
...
...
Racinely
2 years ago
B is correct
upvoted 1 times
...
minmin2020
2 years, 1 month ago
Selected Answer: B
Ok B but how is this question related to a GCP exam? I guess a google search will be faster than reading the theory around Java (unless you are a developer).
upvoted 7 times
zr79
2 years, 1 month ago
have you done any Azure exams? you will thank Google
upvoted 5 times
...
AzureDP900
2 years, 1 month ago
nothing to do with GCP however basic troubleshooting skills required as a DevOps or Architect, B is fine
upvoted 3 times
[Removed]
1 year, 10 months ago
I see your point, but for basic troubleshooting of apps, i will usually have access to google (aka stackoverflow homepage). This could have been a cloud developer question that they repurposed.
upvoted 1 times
...
...
...
holerina
2 years, 2 months ago
B is the right answer
upvoted 1 times
...
avinashvidyarthi
2 years, 6 months ago
Selected Answer: B
B is Correct!
upvoted 1 times
...
Munna19
2 years, 6 months ago
B is the right answer
upvoted 1 times
...
vincy2202
2 years, 11 months ago
B is the correct answer
upvoted 2 times
...
duocnh
2 years, 11 months ago
Selected Answer: B
vote B
upvoted 1 times
...
TheCloudBoy77
3 years ago
Selected Answer: B
B is correct answer
upvoted 1 times
...
bala786
3 years, 4 months ago
Option B. Digitally sign all of your JAR files and redeploy your application
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...