Search Header Logo
Master Microservices with Spring Boot and Spring Cloud - Step 23 – Enabling Discovery Locator with Eureka for Spring Clo

Master Microservices with Spring Boot and Spring Cloud - Step 23 – Enabling Discovery Locator with Eureka for Spring Clo

Assessment

Interactive Video

Information Technology (IT), Architecture, Business

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial covers the setup and configuration of Spring Cloud API Gateway with Eureka. It explains how to register the API Gateway with Eureka, configure necessary properties, and enable the Discovery Client for service communication. The tutorial also demonstrates creating and testing URLs for currency conversion services and improving URL patterns for better readability.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default port used for launching the API Gateway?

8080

8765

8000

8888

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which property needs to be enabled to allow the API Gateway to communicate with Eureka?

spring.cloud.gateway.discovery.locator.enabled

spring.cloud.gateway.discovery.client.enabled

spring.cloud.gateway.eureka.enabled

spring.cloud.gateway.client.discovery

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the API Gateway in a microservices architecture?

To compile code

To handle authentication and proxy requests

To manage databases

To store data

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you ensure that service IDs in URLs are in lowercase?

By setting locator.lower-case-service-id to true

By setting spring.cloud.gateway.lowercase to true

By using uppercase service IDs

By enabling Eureka client

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the benefit of using the API Gateway for microservices?

It increases the number of requests

It decreases server load

It simplifies authentication and request routing

It stores user data

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature allows the API Gateway to discover other services from Eureka?

Cloud Gateway Discovery Locator

Spring Cloud Service Discovery

Eureka Service Locator

API Gateway Service Finder

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be done if a URL pattern does not look good due to uppercase service IDs?

Change the service ID to lowercase

Use a different port

Enable uppercase service IDs

Disable the API Gateway

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?