You are developing an ecommerce web application that uses App Engine standard environment and Memorystore for Redis. When a user logs into the app, the application caches the user's information (e.g., session, name, address, preferences), which is stored for quick retrieval during checkout.
While testing your application in a browser, you get a 502 Bad Gateway error. You have determined that the application is not connecting to Memorystore. What is the reason for this error?
Suggested Answer: A
Get Premium Professional Cloud Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
17 comments · newest first
LU
Lucille
12 months ago
I disagree, option D seems more likely with the subnet confusion.
MA
Maia
12 months ago
Yeah, I had a similar issue once, it was the VPC connector.
ER
Eric
1 year ago
Wait, can you really have a Redis instance without a public IP? That's surprising!
JO
Jolene
1 year ago
I think it's definitely the firewall rule, option C makes sense.
MI
Micah
1 year ago
Sounds like a VPC issue, probably option B.
TA
Tammara
1 year ago
I've got a good feeling about this one. Based on my understanding of how App Engine and Memorystore work together, I think the answer is pretty straightforward. I'm going to go with my gut on this one.
ER
Erasmo
1 year ago
Ugh, this question is really making me think. I'm going to have to draw out the architecture and walk through each option to figure out what's going on. Hopefully, I can narrow it down and make an educated guess.
RO
Roxane
1 year ago
Alright, I think I've got this. The key is to focus on the connectivity between App Engine and Memorystore. I'm going to carefully review the options and try to eliminate the ones that don't make sense.
CL
Clemencia
1 year ago
Okay, let's see here. I'm pretty sure it has something to do with the Memorystore configuration, but I'm not sure which of these options is the correct answer.
ES
Estrella
1 year ago
Hmm, this seems like a tricky one. I'll need to carefully consider the different options and think through the potential reasons for the 502 error.
AL
Alecia
1 year ago
I vaguely remember something about subnets and availability zones, but I'm not confident if that's relevant here.
JO
Joni
1 year ago
I feel like firewall rules could definitely cause connection issues, especially if there was an update. That sounds familiar.
LO
Loreta
1 year ago
I think the VPC Access connector needs to be in the same region as the App Engine, but I can't recall the exact implications of that.
MA
Ma
1 year ago
I remember something about needing a public IP for Memorystore, but I'm not sure if that's the only issue.
FA
Fairy
1 year ago
Okay, let me see. I think the key is to focus on the specific requirements for an airborne diseases isolation room. Time to put my critical thinking skills to work.
ED
Edward
1 year ago
Hmm, I'm not sure about this one. I'll have to think it through carefully. The options seem a bit similar, so I want to make sure I understand the differences before answering.
CA
Carrol
1 year ago
This looks like a tricky MPLS configuration question. I'll need to carefully review the exhibit and options to determine the correct LDP-IGP Sync configuration for R2.