An organization needs to search an application's source code to identify a potential issue. The application is distributed across multiple containers. Which Google Cloud product should the organization use?
B. Cloud Trace is supposed to be the correct answer. It's an application performance management tool. It's a Google solution for monitoring application performance. It is a distributed tracing system that helps developers debug or fix and optimize their code. Since the question talks about distributed tracing, this is the correct answer.
Cloud Monitoring on the other hand is not correct because it's an operations-focused tool
That doesn't make sense, like you said, it's an application performance management tool. It even says it primary use is to collect latency data and to inspect performance bottlenecks. https://cloud.google.com/trace/
Whereas cloud logging integrates with cloud tracing, error reporting and cloud monitoring and with the help of these 3 you can find potential issues and not just performance bottlenecks.
A. Google Cloud Console, specifically the Code Search feature in Google Cloud Source Repositories, can be used to search an application's source code in Google Cloud. The Code Search feature allows you to search across all your source code repositories, including code stored in containers, to quickly find and identify potential issues.
Cloud Logging is a Google Cloud product that allows organizations to store, search, analyze, and monitor logs from various sources, including containers. By configuring the appropriate logging options, the organization can capture logs from the containers and then search the logs to identify potential issues within the application's source code.
Therefore, option D (Cloud Logging) is the suitable Google Cloud product for searching an application's source code distributed across multiple containers.
D is more appropriate here.
B. Cloud Trace : used for analysis of overall performance trace, latency of service or app.
C. Cloud Monitoring: used for overall cloud monitoring of cloud.
D. Cloud Logging: is correct to debug an app module and find about cause of issue.
Cloud Logging is a centralized logging service that collects logs from various sources across your Google Cloud Platform (GCP) infrastructure. It provides a searchable and indexed store for logs, enabling you to analyze and troubleshoot issues.
In this scenario, the organization needs to search an application's source code to identify a potential issue. Since the application is distributed across multiple containers, Cloud Logging is the most suitable choice. It can collect logs from containers and other sources, making it easier to identify the source of the issue.
Use Cloud Logging for monitoring individual events and understanding application behavior at specific points in time.
Use Cloud Trace when you need to understand the flow of requests across your distributed application and diagnose performance issues.
D is the correct answer ,
Cloud Logging is the Google Cloud product that allows organizations to search and analyze log data, including logs from distributed applications running across multiple containers. It provides a centralized location to view, filter, and search logs, making it suitable for identifying potential issues in an application's source code. You can use it to track and troubleshoot issues efficiently across your distributed environment. It's like having a detective tool that helps you find clues about what's happening inside your containers.
Cloud Trace does not collect or store source code. Cloud Trace only collects latency data and metadata about the application's traces.
Cloud Logging can be used to search the source code of a distributed application to identify a potential issue. Therefore D.
D. Cloud Logging
Cloud Logging is a Google Cloud product that collects and stores logs from applications and infrastructure. It provides a unified view of logs from all sources, making it easy to search and analyze logs to identify potential issues.
A. Google Cloud Console: This is the management interface for Google Cloud services, but it is not designed for searching application source code.
B. Cloud Trace: Cloud Trace is a service for tracing and profiling application performance but does not help in searching source code.
C. Cloud Monitoring: Cloud Monitoring allows you to monitor the performance and availability of your applications, but it is not designed for searching source code.
D. Cloud Logging (formerly known as Stackdriver Logging): Cloud Logging is designed for collecting and analyzing log data, including logs from your containers, making it the most suitable option for searching application source code issues.
So, the correct choice is D. Cloud Logging.
Going with Cloud Logging because the question specifically asks about identifying a potential issue with the source code where the logs can prove helpful to figure out the cause of the problem.
However if the question was asking about talking about optimizing or enhancing performance, in that case Cloud Trace would have made more sense.
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.
VijayendraBaahubali
Highly Voted 2 years, 2 months agoaaron773
1 year, 5 months agoJackey0117
Highly Voted 1 year, 9 months agoxdkonorek2
Most Recent 1 month ago4a98421
8 months, 2 weeks agosivakarthick16
10 months, 1 week agomadcloud32
11 months agomadcloud32
11 months, 1 week agomohammeddigital
11 months, 1 week agobefeyac438
11 months, 2 weeks agoDardeery
1 year agochai_gpt
1 year agoAb1975
1 year, 1 month ago__rajan__
1 year, 1 month agoRK_MANOJ
1 year, 1 month agomdsarfraz69
1 year, 2 months agohimanshu3004
1 year, 3 months agoayush_1995
1 year, 3 months agoayush_1995
1 year, 3 months ago