exam questions

Exam 350-901 All Questions

View all questions & answers for the 350-901 exam

Exam 350-901 topic 1 question 43 discussion

Actual exam question from Cisco's 350-901
Question #: 43
Topic #: 1
[All 350-901 Questions]

User report that they can no longer able to process transactions with the online ordering application, and the logging dashboard is displaying these messages.
Fri Jan 10 19:37:31.123 EST 2020 [FRONTEND] INFO: Incoming request to add item to cart from user 45834534858
Fri Jan 10 19:37:31.247 EST 2020 [BACKEND] INFO: Attempting to add item to cart
Fri Jan 10 19:37:31.250 EST 2020 [BACKEND] ERROR: Failed to add item: MYSQLDB ERROR: Connection refused
What is causing the problem seen in these log messages?

  • A. The database server container has crashed.
  • B. The backend process is overwhelmed with too many transactions.
  • C. The backend is not authorized to commit to the database.
  • D. The user is not authorized to add the item to their cart.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
romanknet
Highly Voted 4 years, 2 months ago
A The message 'Connection Refused' has two main causes: Nothing is listening on the IP:Port you are trying to connect to. The port is blocked by a firewall. Source - https://serverfault.com/questions/725262/what-causes-the-connection-refused-message
upvoted 9 times
...
tar201
Most Recent 2 weeks, 2 days ago
Selected Answer: A
Log coming from backend. Seen such issue many Times
upvoted 1 times
...
814d1c6
4 months, 2 weeks ago
Selected Answer: A
The log message shows an error when the backend tries to add an item to the cart: MYSQLDB ERROR: Connection refused This indicates that the backend application cannot establish a connection to the database server. This error is commonly caused when the database server (in this case, likely running in its own container) is not available or has crashed. Thus, the correct answer is: A. The database server container has crashed.
upvoted 1 times
...
samael666
6 months ago
Selected Answer: A
correct A, the others are authorization and timeout errors.
upvoted 1 times
...
gregemil
11 months, 1 week ago
B Not A because it would be a timeout and not refusal. Not C because it's connection that is refused and not transaction B is caused either by some limit on tcp concurrent connections or a db level limit.
upvoted 1 times
...
[Removed]
1 year, 2 months ago
Selected Answer: A
A. The database server container has crashed. If the database server has crashed or is not running, any attempts to connect to it would be refused, which aligns with the "Connection refused" error message. B. The backend process is overwhelmed with too many transactions. If the backend were simply overwhelmed, you'd expect to see timeout errors or performance-related messages, not a "Connection refused" error. C. The backend is not authorized to commit to the database. Authorization issues typically result in error messages about invalid credentials or permissions, not connection refusals. D. The user is not authorized to add the item to their cart. This would typically generate an error message about authorization or access control, not a connection issue. Based on the error message "Connection refused," the most likely cause is A. The database server container has crashed. This would result in refusal of connection attempts from the backend service.
upvoted 2 times
...
Fedesarucho
1 year, 4 months ago
Selected Answer: A
A has more sense, DB is not taking connections
upvoted 1 times
...
razvan999
1 year, 6 months ago
Selected Answer: C
Connection refused implies that the DB is UP, like a 403 error code, not like the 500 range(A)
upvoted 4 times
razvan999
1 year, 6 months ago
Actually, is A: https://googlecloudcommunity.com/gc/Databases/ERROR-SQLSTATE-HY000-2002-Connection-refused/m-p/631473#:~:text=This%20can%20be%20caused%20by,access%20to%20the%20database%20server.
upvoted 1 times
...
...
doble_h
1 year, 7 months ago
Selected Answer: A
A common reason for this error is that the database server is down or not responding, which could be due to a crash or some issue with the database server container.
upvoted 1 times
...
VincentVega
1 year, 8 months ago
Selected Answer: A
A. The database server container has crashed. and C. The backend is not authorized to commit to the database. Are correct answers (and B also can be correct at certain circumstate ) If You troubleshoot Connection refused error - first step check the configuration and credentials But also important - is it works before? Yes it works fine before - "User report that they can no longer able" So question - what happened? And for this perspective A is more preferable. And finally from DevCore study guide 350-901 p 34 : If a log indicated “Connection refused” or “Connection timeout,” quite often Linux admins would blame the network (which could be true), but in reality (or highly likely), some service on a server did not start or some container crashed. Another possible reason could be a server overload.
upvoted 2 times
...
JCGO
1 year, 11 months ago
It is C. Not A, since MySql will not reply in case of container failure. Not B, because this will be “Too many connections” error Not D, because this will be “Access denied for ..."
upvoted 1 times
...
eggsterminator
1 year, 11 months ago
Selected Answer: C
C Its not A. Connection refused means that the server was able to respond back to you. If you try to open a TCP connection to another host and see the error "Connection refused," it means that You sent a TCP SYN packet to the other host. Then you received a TCP RST packet in reply. RST is a bit on the TCP packet which indicates that the connection should be reset. Usually it means that the other host has received your connection attempt and is actively refusing your TCP connection, but sometimes an intervening firewall may block your TCP SYN packet and send a TCP RST back to you.
upvoted 3 times
...
routeswitch
2 years ago
Selected Answer: C
IF THE CONTAINER HAS CRASHED THE ERROR MESSAGE WOULD NOT SAY REFUSED
upvoted 3 times
...
xXXDarkWizardXXx
2 years, 2 months ago
B. If the system is down you get request timeout, not 'Connection Refused'
upvoted 3 times
after_eight
1 year, 11 months ago
If a container crashs, the system is still up and has no more process which listens the port, you will have the Connection Refused error. I would go for A
upvoted 1 times
...
...
Teringzooi
2 years, 9 months ago
Selected Answer: A
A seems to be suitable.
upvoted 1 times
...
bboycoi
3 years, 1 month ago
I agree with A, but I really hate this kind of question
upvoted 1 times
...
__al__
3 years, 2 months ago
Strange question... the least terrible option is A indeed.
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 ...