You've already forked devops-exercises
Fix Kubernetes questions format
Was using 4 backticks instead of 3.
This commit is contained in:
@@ -157,6 +157,7 @@ Failover | Route 53 | [Exercise](exercises/route_53_failover/exercise.md) | [Sol
|
||||
|--------|--------|------|----|----|
|
||||
| Hello Function | Lambda | [Exercise](exercises/hello_function/exercise.md) | [Solution](exercises/hello_function/solution.md) | |
|
||||
| URL Function | Lambda | [Exercise](exercises/url_function/exercise.md) | [Solution](exercises/url_function/solution.md) | |
|
||||
| Web App with DB | Lambda, DynamoDB | [Exercise](exercises/web_app_dynamodb/exercise.md) | [Solution](exercises/web_app_dynamodb/solution.md) | |
|
||||
|
||||
### Elastic Beanstalk
|
||||
|
||||
@@ -1211,18 +1212,20 @@ Read more on it [here](https://aws.amazon.com/lambda)
|
||||
<details>
|
||||
<summary>True or False? In AWS Lambda, you are charged as long as a function exists, regardless of whether it's running or not</summary><br><b>
|
||||
|
||||
False. Charges are being made when the code is executed.
|
||||
False. Charges are being made when the function is executed for the time it takes to execute and compute resources it uses.
|
||||
</b></details>
|
||||
|
||||
<details>
|
||||
<summary>Which of the following set of languages Lambda supports?
|
||||
|
||||
- R, Swift, Rust, Kotlin
|
||||
- Python, Ruby, Go
|
||||
- Python, Ruby, PHP
|
||||
- Python, Ruby, Go, Kotlin, Bash
|
||||
- Python, Ruby, PHP, PowerShell, C#, Perl
|
||||
- Python, Ruby, Go, Node.js, Groovy, C++
|
||||
- Python, Ruby, Go, Node.js, PowerShell, C#
|
||||
</summary><br><b>
|
||||
|
||||
- Python, Ruby, Go
|
||||
- Python, Ruby, Go, Node.js, PowerShell, C#
|
||||
</b></details>
|
||||
|
||||
<details>
|
||||
@@ -3466,4 +3469,4 @@ More details are missing to determine for sure but it might be better to decoupl
|
||||
|
||||
ARN (Amazon Resources Names) used for uniquely identifying different AWS resources.
|
||||
It is used when you would like to identify resource uniqely across all AWS infra.
|
||||
</b></details>
|
||||
</b></details>
|
||||
|
||||
11
topics/aws/exercises/web_app_lambda_dynamodb/exercise.md
Normal file
11
topics/aws/exercises/web_app_lambda_dynamodb/exercise.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Web App with DB
|
||||
|
||||
## Objectives
|
||||
|
||||
Implement the following architecture:
|
||||
|
||||
<TODO>
|
||||
|
||||
## Solution
|
||||
|
||||
Click [here](solution.md) to view the solution
|
||||
@@ -0,0 +1,23 @@
|
||||
provider "aws" {
|
||||
region = "us-west-1"
|
||||
}
|
||||
|
||||
resource "aws_dynamodb_table" "users" {
|
||||
name = "users"
|
||||
hash_key = "id"
|
||||
|
||||
attribute {
|
||||
name = "id"
|
||||
type = "S"
|
||||
}
|
||||
|
||||
attribute {
|
||||
name = "login"
|
||||
type = "S"
|
||||
}
|
||||
|
||||
global_secondary_index {
|
||||
hash_key =
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user