A company has an application that consists of different microservices that run inside an AWS account. The microservices are running in containers inside a single VPC. The number of microservices is constantly increasing. A developer must create a central logging solution for application logs.
Suggested Answer: C
Get Premium DVA-C02 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
33 comments · newest first
EL
Eleonora
11 months ago
Definitely go with A, makes it easier to debug!
KI
King
11 months ago
Wait, can you really use D for logging? Sounds odd.
CR
Craig
11 months ago
C is useful, but it won't capture application logs.
FL
Fletcher
12 months ago
I think B is more about tracking API calls, not logs.
MA
Mabel
12 months ago
A is a solid choice for isolating logs by service.
SH
Shawnta
1 year ago
AWS Cloud Map sounds familiar, but I can't recall if it’s specifically for logging. I feel like it’s more about service discovery, so I’m leaning away from option D.
OL
Olene
1 year ago
VPC Flow Logs are useful for monitoring network traffic, but I don't think they capture application-level logs. So, option C might not be what we need here.
MI
Micah
1 year ago
I think CloudTrail is more about tracking API calls rather than application logs. So, I’m not sure if option B is the right answer for this scenario.
MI
Mitzie
1 year ago
I remember studying about CloudWatch Logs and how it can help centralize logs from different services. Option A seems like a good choice, but I wonder if managing too many streams could get complicated.
MA
Maryann
1 year ago
The REST service part is confusing me a bit. I thought the uniform contract was supposed to support HTTP methods, but the question says it doesn't.
ST
Stefany
1 year ago
Okay, I think I've got a plan. Azure API Management with the Premium tier and a virtual network connection should give me the control and security I need, while the rate limiting features should help minimize costs.
AV
Avery
1 year ago
I'm a bit confused by this question. Are we supposed to configure syslog to send the data to multiple Splunk indexers, or use a forwarder to collect the logs? I'm not sure which option is the "best practice" that the question is asking about. I might need to do some additional research to figure this out.
LO
Lonna
1 year ago
This question seems to be testing my understanding of EVPN VXLAN and the different IRB modes. I'll need to carefully review the details of how the ingress VTEP handles traffic between overlays.
CO
Cory
1 year ago
I'm with Lajuana on this one. VPC Flow Logs is the way to go. Gotta love those centralized logs, am I right? Plus, it'll save me from having to maintain a gazillion individual CloudWatch Logs streams. Win-win!
MA
Margo
1 year ago
Definitely a win-win situation for us with VPC Flow Logs in place.
CE
Celestina
1 year ago
I think using VPC Flow Logs will also help track communications between the microservices more efficiently.
JE
Jesus
1 year ago
Yeah, it's much easier to manage compared to creating separate CloudWatch Logs streams for each microservice.
RO
Rodrigo
1 year ago
I agree, VPC Flow Logs is definitely the way to go for centralized logging.
LA
Lavonne
1 year ago
Haha, option D is just silly. AWS Cloud Map? That's for service discovery, not logging. I'd go with option C, VPC Flow Logs. Get that sweet, sweet network traffic data and make sense of it all.
LA
Lachelle
1 year ago
Yeah, VPC Flow Logs can provide valuable network traffic data for analysis.
LA
Lauran
1 year ago
VPC Flow Logs sound like a solid choice for tracking communications.
BI
Billi
1 year ago
I agree, option D doesn't make sense for logging.
BE
Beula
1 year ago
B) AWS CloudTrail? That's for logging API calls, not application logs. We need something that can handle the actual log data from the microservices. I think option A is the way to go - keep it simple with individual CloudWatch Logs streams.
EL
Elmer
1 year ago
C) Configure VPC Flow Logs to track the communications between the microservices.
NG
Nguyet
1 year ago
B) AWS CloudTrail? That's for logging API calls, not application logs.
RO
Rodrigo
1 year ago
A) Create a different Amazon CloudWatch Logs stream for each microservice.
LA
Lajuana
1 year ago
A) Create a different Amazon CloudWatch Logs stream for each microservice? That's going to create a ton of clutter and make it hard to manage. I'd go with option C, VPC Flow Logs, to get a centralized view of the traffic between the microservices.
VE
Veronika
2 years ago
That's a good point, option C could provide valuable insights into the interactions of the microservices.
WI
Willie
2 years ago
I disagree, I believe option C would be more effective in tracking communications between the microservices.
VE
Veronika
2 years ago
I think option A is the best choice for central logging.
BA
Barrie
2 years ago
That's a good point, but I still think having separate logs for each microservice with option A is crucial for troubleshooting.
NI
Nichelle
2 years ago
I disagree, I believe option C is more important as it helps us track the communications between the microservices.
BA
Barrie
2 years ago
I think option A is the best choice because it allows us to have separate logs for each microservice.