{
    "id": "4cc9e682-4bdc-3d29-9fec-8abfbf9e38f9",
    "name": "MongoDB: Basics",
    "slug": "mongodb-basics",
    "status": "published",
    "lab_type": "pta",
    "is_sample": false,
    "duration_in_seconds": 1800,
    "metadata": {
        "courses": [
            "657cf698-108b-45a3-993c-d8e238ebbfaf",
            "1b212166-e0a6-4b76-9111-0e77533801d9",
            "46c248cb-51a2-309e-8b12-ee059def0007"
        ],
        "pta_sdn": "230",
        "collections": [],
        "pta_namespace": "attackdefenselabs",
        "learning_paths": [],
        "has_published_parent": true
    },
    "session": null,
    "company": "a491bc32-c056-4946-9169-cc053387bada",
    "created": "2022-03-17T11:44:40.131628Z",
    "modified": "2024-12-20T16:47:01.135155Z",
    "is_beta": false,
    "lab_objectives": [],
    "main_learning_area": "3e1aa06f-2e9f-4789-b50d-aa027ad8dcfa",
    "learning_areas": [
        {
            "id": "3e1aa06f-2e9f-4789-b50d-aa027ad8dcfa",
            "name": "Cyber Security",
            "slug": "cyber-security"
        }
    ],
    "categories": [
        {
            "id": "620e45fa-779d-470c-8a03-a8394f1915a0",
            "name": "Infrastructure Attacks"
        },
        {
            "id": "8c30224b-ca3a-4f63-a91f-9e0c50e43d36",
            "name": "MongoDB"
        }
    ],
    "tags": [],
    "difficulty": "professional",
    "is_web_access": false,
    "is_lab_experience": false,
    "is_featured": false,
    "cve": null,
    "severity": null,
    "year": null,
    "classification": null,
    "is_trackable": false,
    "cpe_credits": null,
    "is_skill_check": false,
    "external_url": "",
    "solution_video": "3ed5bcd2-92c4-3511-ba0f-775b065fcd61",
    "explanation_video": null,
    "description": "[MongoDB](https://www.mongodb.com/) is a document-oriented NoSQL database system.\u00a0A mongodb server is installed in the lab environment (localhost). The objective of this challenge is to interact with the mongodb server and answer the following:\n\nQuestions:\n\n1. How many databases are present is mongodb cluster?\n2. How many collections are present in database users?\n3. What is the value of flag obtained from the mongodb cluster?\n4. What is the email address of user named \u201cHeather\u201d from \u201ccurrent\u201d user collection?\n5. How many users are present in \u201cpast\u201d collection in users database?\n6. How many cities of state \u201cMassachusetts\u201d are present in the collection city in database city?\n7. How many cities have population greater than 15000 in the collection city in database city?\n8. How many cities of state \u201cIndiana\u201d have population \u00a0greater than 15000 in collection \u201ccity\u201d in database \u201ccity\u201d?\n9. How many cities of have population less than 100 or belongs to state \u201cIndiana\u201d in collection \u201ccity\u201d in database \u201ccity\u201d?\n10. How many Cities have their name starting with \u201cAN\u201d in collection \u201ccity\u201d in database \u201ccity\u201d?\n11. What is the name of 101st city in collection \u201ccity\u201d when sorted in ascending order according to \u201ccity\u201d in database \u201ccity\u201d?\n12. What is the average population in collection \u201ccity\u201d in database \u201ccity\u201d (Upto two decimal places)?\n\n**Reference:** Database used in this exercise can be found [here.](http://media.mongodb.org/zips.json)",
    "description_html": "<p><a href=\"https://www.mongodb.com/\">MongoDB</a> is a document-oriented NoSQL database system.\u00a0A mongodb server is installed in the lab environment (localhost). The objective of this challenge is to interact with the mongodb server and answer the following:</p>\n<p>Questions:</p>\n<ol>\n<li>How many databases are present is mongodb cluster?</li>\n<li>How many collections are present in database users?</li>\n<li>What is the value of flag obtained from the mongodb cluster?</li>\n<li>What is the email address of user named \u201cHeather\u201d from \u201ccurrent\u201d user collection?</li>\n<li>How many users are present in \u201cpast\u201d collection in users database?</li>\n<li>How many cities of state \u201cMassachusetts\u201d are present in the collection city in database city?</li>\n<li>How many cities have population greater than 15000 in the collection city in database city?</li>\n<li>How many cities of state \u201cIndiana\u201d have population \u00a0greater than 15000 in collection \u201ccity\u201d in database \u201ccity\u201d?</li>\n<li>How many cities of have population less than 100 or belongs to state \u201cIndiana\u201d in collection \u201ccity\u201d in database \u201ccity\u201d?</li>\n<li>How many Cities have their name starting with \u201cAN\u201d in collection \u201ccity\u201d in database \u201ccity\u201d?</li>\n<li>What is the name of 101st city in collection \u201ccity\u201d when sorted in ascending order according to \u201ccity\u201d in database \u201ccity\u201d?</li>\n<li>What is the average population in collection \u201ccity\u201d in database \u201ccity\u201d (Upto two decimal places)?</li>\n</ol>\n<p><strong>Reference:</strong> Database used in this exercise can be found <a href=\"http://media.mongodb.org/zips.json\">here.</a></p>",
    "tasks": "",
    "tasks_html": "",
    "published_date": "2023-07-12T04:00:11.539636Z",
    "solutions": "The solution for this lab can be found in the following manual:\n        <a href=\"https://assets.ine.com/labs/ad-manuals/walkthrough-230.pdf\" target=\"blank\">https://assets.ine.com/labs/ad-manuals/walkthrough-230.pdf</a>",
    "solutions_html": "<p>The solution for this lab can be found in the following manual:\n        <a href=\"https://assets.ine.com/labs/ad-manuals/walkthrough-230.pdf\" target=\"blank\">https://assets.ine.com/labs/ad-manuals/walkthrough-230.pdf</a></p>",
    "flags": [],
    "min_points_to_pass": null,
    "access_type": "default",
    "user_status": "unstarted",
    "user_lab_status": null,
    "user_status_modified": null,
    "user_flags": [],
    "global_running_session": null
}