Search Header Logo
Building Microservices API in Go - Application Configuration

Building Microservices API in Go - Application Configuration

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

The video tutorial explains how to use environment variables for application configuration, emphasizing the importance of not hardcoding values. It covers defining and injecting variables in Linux, retrieving them using the OS package, and configuring database settings. A sanity check is implemented to ensure all necessary variables are defined, preventing application crashes. The tutorial also discusses exporting variables to simplify command line usage and concludes with a recap and preview of the next video on creating a POST API.

Read more

3 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What happens if an environment variable required by the application is not defined?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

How can you export environment variables in Linux to avoid defining them every time?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What should you avoid doing with shell scripts that contain application credentials?

Evaluate responses using AI:

OFF

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?